SNAP Library 2.1, Developer Reference  2013-09-25 10:47:25
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TQuad< TVal1, TVal2, TVal3, TVal4 > Class Template Reference

#include <ds.h>

List of all members.

Public Member Functions

 TQuad ()
 TQuad (const TQuad &Quad)
 TQuad (const TVal1 &_Val1, const TVal2 &_Val2, const TVal3 &_Val3, const TVal4 &_Val4)
 TQuad (TSIn &SIn)
void Save (TSOut &SOut) const
void LoadXml (const PXmlTok &XmlTok, const TStr &Nm="")
void SaveXml (TSOut &SOut, const TStr &Nm) const
TQuadoperator= (const TQuad &Quad)
bool operator== (const TQuad &Quad) const
bool operator< (const TQuad &Quad) const
int GetPrimHashCd () const
int GetSecHashCd () const
void GetVal (TVal1 &_Val1, TVal2 &_Val2, TVal3 &_Val3, TVal4 &_Val4) const

Public Attributes

TVal1 Val1
TVal2 Val2
TVal3 Val3
TVal4 Val4

Detailed Description

template<class TVal1, class TVal2, class TVal3, class TVal4>
class TQuad< TVal1, TVal2, TVal3, TVal4 >

Definition at line 213 of file ds.h.


Constructor & Destructor Documentation

template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
TQuad< TVal1, TVal2, TVal3, TVal4 >::TQuad ( ) [inline]

Definition at line 220 of file ds.h.

         :
    Val1(), Val2(), Val3(), Val4(){}
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
TQuad< TVal1, TVal2, TVal3, TVal4 >::TQuad ( const TQuad< TVal1, TVal2, TVal3, TVal4 > &  Quad) [inline]

Definition at line 222 of file ds.h.

                          :
    Val1(Quad.Val1), Val2(Quad.Val2), Val3(Quad.Val3), Val4(Quad.Val4){}
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
TQuad< TVal1, TVal2, TVal3, TVal4 >::TQuad ( const TVal1 &  _Val1,
const TVal2 &  _Val2,
const TVal3 &  _Val3,
const TVal4 &  _Val4 
) [inline]

Definition at line 224 of file ds.h.

                                                                                       :
    Val1(_Val1), Val2(_Val2), Val3(_Val3), Val4(_Val4){}
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
TQuad< TVal1, TVal2, TVal3, TVal4 >::TQuad ( TSIn SIn) [inline, explicit]

Definition at line 226 of file ds.h.

                           :
    Val1(SIn), Val2(SIn), Val3(SIn), Val4(SIn){}

Member Function Documentation

template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
int TQuad< TVal1, TVal2, TVal3, TVal4 >::GetPrimHashCd ( ) const [inline]
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
int TQuad< TVal1, TVal2, TVal3, TVal4 >::GetSecHashCd ( ) const [inline]
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
void TQuad< TVal1, TVal2, TVal3, TVal4 >::GetVal ( TVal1 &  _Val1,
TVal2 &  _Val2,
TVal3 &  _Val3,
TVal4 &  _Val4 
) const [inline]
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
void TQuad< TVal1, TVal2, TVal3, TVal4 >::LoadXml ( const PXmlTok XmlTok,
const TStr Nm = "" 
)

Definition at line 87 of file xmlser.h.

References XLoad, and XLoadHd.

template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
bool TQuad< TVal1, TVal2, TVal3, TVal4 >::operator< ( const TQuad< TVal1, TVal2, TVal3, TVal4 > &  Quad) const [inline]

Definition at line 239 of file ds.h.

References TQuad< TVal1, TVal2, TVal3, TVal4 >::Val1, TQuad< TVal1, TVal2, TVal3, TVal4 >::Val2, TQuad< TVal1, TVal2, TVal3, TVal4 >::Val3, and TQuad< TVal1, TVal2, TVal3, TVal4 >::Val4.

                                          {
    return (Val1<Quad.Val1)||((Val1==Quad.Val1)&&(Val2<Quad.Val2))||
     ((Val1==Quad.Val1)&&(Val2==Quad.Val2)&&(Val3<Quad.Val3))||
     ((Val1==Quad.Val1)&&(Val2==Quad.Val2)&&(Val3==Quad.Val3)&&(Val4<Quad.Val4));}
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
TQuad& TQuad< TVal1, TVal2, TVal3, TVal4 >::operator= ( const TQuad< TVal1, TVal2, TVal3, TVal4 > &  Quad) [inline]
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
bool TQuad< TVal1, TVal2, TVal3, TVal4 >::operator== ( const TQuad< TVal1, TVal2, TVal3, TVal4 > &  Quad) const [inline]
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
void TQuad< TVal1, TVal2, TVal3, TVal4 >::Save ( TSOut SOut) const [inline]
template<class TVal1 , class TVal2 , class TVal3 , class TVal4 >
void TQuad< TVal1, TVal2, TVal3, TVal4 >::SaveXml ( TSOut SOut,
const TStr Nm 
) const

Definition at line 91 of file xmlser.h.

References XSave, and XSaveHd.


Member Data Documentation


The documentation for this class was generated from the following files: