SNAP Library 4.0, Developer Reference  2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
THashSetKey< TKey > Class Template Reference

#include <shash.h>

Collaboration diagram for THashSetKey< TKey >:

Public Member Functions

 THashSetKey ()
 
 THashSetKey (const int &_Next, const int &_HashCd, const TKey &_Key)
 
 THashSetKey (TSIn &SIn)
 
void Save (TSOut &SOut) const
 
void LoadXml (const PXmlTok &XmlTok, const TStr &Nm="")
 
void SaveXml (TSOut &SOut, const TStr &Nm) const
 
THashSetKeyoperator= (const THashSetKey &SetKey)
 

Public Attributes

TInt Next
 
TInt HashCd
 
TKey Key
 

Detailed Description

template<class TKey>
class THashSetKey< TKey >

Definition at line 981 of file shash.h.

Constructor & Destructor Documentation

template<class TKey >
THashSetKey< TKey >::THashSetKey ( )
inline

Definition at line 987 of file shash.h.

987  :
988  Next(-1), HashCd(-1), Key() {}
TKey Key
Definition: shash.h:985
TInt Next
Definition: shash.h:983
TInt HashCd
Definition: shash.h:984
template<class TKey >
THashSetKey< TKey >::THashSetKey ( const int &  _Next,
const int &  _HashCd,
const TKey &  _Key 
)
inline

Definition at line 989 of file shash.h.

989  :
990  Next(_Next), HashCd(_HashCd), Key(_Key) {}
TKey Key
Definition: shash.h:985
TInt Next
Definition: shash.h:983
TInt HashCd
Definition: shash.h:984
template<class TKey >
THashSetKey< TKey >::THashSetKey ( TSIn SIn)
inlineexplicit

Definition at line 991 of file shash.h.

991  :
992  Next(SIn), HashCd(SIn), Key(SIn) {}
TKey Key
Definition: shash.h:985
TInt Next
Definition: shash.h:983
TInt HashCd
Definition: shash.h:984

Member Function Documentation

template<class TKey >
void THashSetKey< TKey >::LoadXml ( const PXmlTok XmlTok,
const TStr Nm = "" 
)
inline

Definition at line 995 of file shash.h.

References THashSetKey< TKey >::Key, XLoad, and XLoadHd.

995  {
996  XLoadHd(Nm); XLoad(Key); }
#define XLoadHd(Nm)
Definition: bd.h:312
TKey Key
Definition: shash.h:985
#define XLoad(Nm)
Definition: bd.h:315
template<class TKey >
THashSetKey& THashSetKey< TKey >::operator= ( const THashSetKey< TKey > &  SetKey)
inline

Definition at line 1000 of file shash.h.

References THashSetKey< TKey >::HashCd, THashSetKey< TKey >::Key, and THashSetKey< TKey >::Next.

1000  {
1001  if (this!=&SetKey) { Next=SetKey.Next; HashCd=SetKey.HashCd; Key=SetKey.Key; }
1002  return *this; }
TKey Key
Definition: shash.h:985
TInt Next
Definition: shash.h:983
TInt HashCd
Definition: shash.h:984
template<class TKey >
void THashSetKey< TKey >::Save ( TSOut SOut) const
inline

Definition at line 993 of file shash.h.

References THashSetKey< TKey >::HashCd, THashSetKey< TKey >::Key, THashSetKey< TKey >::Next, and TInt::Save().

993  {
994  Next.Save(SOut); HashCd.Save(SOut); Key.Save(SOut); }
TKey Key
Definition: shash.h:985
void Save(TSOut &SOut) const
Definition: dt.h:1150
TInt Next
Definition: shash.h:983
TInt HashCd
Definition: shash.h:984

Here is the call graph for this function:

template<class TKey >
void THashSetKey< TKey >::SaveXml ( TSOut SOut,
const TStr Nm 
) const
inline

Definition at line 997 of file shash.h.

References THashSetKey< TKey >::Key, XSave, and XSaveHd.

997  {
998  XSaveHd(Nm); XSave(Key); }
TKey Key
Definition: shash.h:985
#define XSaveHd(Nm)
Definition: bd.h:318
#define XSave(Nm)
Definition: bd.h:333

Member Data Documentation

template<class TKey >
TInt THashSetKey< TKey >::Next

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