SNAP Library 3.0, User Reference  2016-07-20 17:56:49
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>

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.

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.

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.

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:1060
TInt Next
Definition: shash.h:983
TInt HashCd
Definition: shash.h:984
template<class TKey >
void THashSetKey< TKey >::SaveXml ( TSOut SOut,
const TStr Nm 
) const
inline

Definition at line 997 of file shash.h.

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 >::HashCd

Definition at line 984 of file shash.h.

template<class TKey >
TKey THashSetKey< TKey >::Key

Definition at line 985 of file shash.h.

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

Definition at line 983 of file shash.h.


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