SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <hash.h>
Public Member Functions | |
THashKeyDatI () | |
THashKeyDatI (const THashKeyDatI &_HashKeyDatI) | |
THashKeyDatI (const THKeyDat *_KeyDatI, const THKeyDat *_EndI) | |
THashKeyDatI & | operator= (const THashKeyDatI &HashKeyDatI) |
bool | operator== (const THashKeyDatI &HashKeyDatI) const |
bool | operator< (const THashKeyDatI &HashKeyDatI) const |
THashKeyDatI & | operator++ (int) |
THashKeyDatI & | operator-- (int) |
THKeyDat & | operator* () const |
THKeyDat & | operator() () const |
THKeyDat * | operator-> () const |
bool | IsEmpty () const |
Tests whether the iterator has been initialized. | |
bool | IsEnd () const |
Tests whether the iterator is pointing to the past-end element. | |
const TKey & | GetKey () const |
const TDat & | GetDat () const |
TDat & | GetDat () |
Private Types | |
typedef THashKeyDat< TKey, TDat > | THKeyDat |
Private Attributes | |
THKeyDat * | KeyDatI |
THKeyDat * | EndI |
typedef THashKeyDat<TKey, TDat> THashKeyDatI< TKey, TDat >::THKeyDat [private] |
THashKeyDatI< TKey, TDat >::THashKeyDatI | ( | ) | [inline] |
THashKeyDatI< TKey, TDat >::THashKeyDatI | ( | const THashKeyDatI< TKey, TDat > & | _HashKeyDatI | ) | [inline] |
THashKeyDatI< TKey, TDat >::THashKeyDatI | ( | const THKeyDat * | _KeyDatI, |
const THKeyDat * | _EndI | ||
) | [inline] |
const TDat& THashKeyDatI< TKey, TDat >::GetDat | ( | ) | const [inline] |
Definition at line 71 of file hash.h.
References Assert, THashKeyDat< TKey, TDat >::Dat, THashKeyDat< TKey, TDat >::HashCd, and THashKeyDatI< TKey, TDat >::KeyDatI.
Referenced by TNetInfBs::GenCascade(), and TNIBs::GenCascade().
TDat& THashKeyDatI< TKey, TDat >::GetDat | ( | ) | [inline] |
Definition at line 72 of file hash.h.
References Assert, THashKeyDat< TKey, TDat >::Dat, THashKeyDat< TKey, TDat >::HashCd, and THashKeyDatI< TKey, TDat >::KeyDatI.
const TKey& THashKeyDatI< TKey, TDat >::GetKey | ( | ) | const [inline] |
Definition at line 70 of file hash.h.
References Assert, THashKeyDat< TKey, TDat >::HashCd, THashKeyDat< TKey, TDat >::Key, and THashKeyDatI< TKey, TDat >::KeyDatI.
Referenced by TNetInfBs::GenCascade(), and TNIBs::GenCascade().
bool THashKeyDatI< TKey, TDat >::IsEmpty | ( | ) | const [inline] |
Tests whether the iterator has been initialized.
Definition at line 66 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
{ return KeyDatI == NULL; }
bool THashKeyDatI< TKey, TDat >::IsEnd | ( | ) | const [inline] |
Tests whether the iterator is pointing to the past-end element.
Definition at line 68 of file hash.h.
References THashKeyDatI< TKey, TDat >::EndI, and THashKeyDatI< TKey, TDat >::KeyDatI.
THKeyDat& THashKeyDatI< TKey, TDat >::operator() | ( | ) | const [inline] |
Definition at line 62 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
{ return *KeyDatI; }
THKeyDat& THashKeyDatI< TKey, TDat >::operator* | ( | ) | const [inline] |
Definition at line 61 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
{ return *KeyDatI; }
THashKeyDatI& THashKeyDatI< TKey, TDat >::operator++ | ( | int | ) | [inline] |
Definition at line 58 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
THashKeyDatI& THashKeyDatI< TKey, TDat >::operator-- | ( | int | ) | [inline] |
Definition at line 59 of file hash.h.
References THashKeyDat< TKey, TDat >::HashCd, and THashKeyDatI< TKey, TDat >::KeyDatI.
THKeyDat* THashKeyDatI< TKey, TDat >::operator-> | ( | ) | const [inline] |
Definition at line 63 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
{ return KeyDatI; }
bool THashKeyDatI< TKey, TDat >::operator< | ( | const THashKeyDatI< TKey, TDat > & | HashKeyDatI | ) | const [inline] |
Definition at line 56 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
THashKeyDatI& THashKeyDatI< TKey, TDat >::operator= | ( | const THashKeyDatI< TKey, TDat > & | HashKeyDatI | ) | [inline] |
Definition at line 52 of file hash.h.
References THashKeyDatI< TKey, TDat >::EndI, and THashKeyDatI< TKey, TDat >::KeyDatI.
bool THashKeyDatI< TKey, TDat >::operator== | ( | const THashKeyDatI< TKey, TDat > & | HashKeyDatI | ) | const [inline] |
Definition at line 54 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
THKeyDat* THashKeyDatI< TKey, TDat >::EndI [private] |
Definition at line 44 of file hash.h.
Referenced by TSnap::GetFarnessCentr(), TBigNet< TNodeData, IsDir >::GetNIdV(), THashKeyDatI< TKey, TDat >::IsEnd(), and THashKeyDatI< TKey, TDat >::operator=().
THKeyDat* THashKeyDatI< TKey, TDat >::KeyDatI [private] |
Definition at line 43 of file hash.h.
Referenced by THashKeyDatI< TKey, TDat >::GetDat(), THashKeyDatI< TKey, TDat >::GetKey(), THashKeyDatI< TKey, TDat >::IsEmpty(), THashKeyDatI< TKey, TDat >::IsEnd(), THashKeyDatI< TKey, TDat >::operator()(), THashKeyDatI< TKey, TDat >::operator*(), THashKeyDatI< TKey, TDat >::operator++(), THashKeyDatI< TKey, TDat >::operator--(), THashKeyDatI< TKey, TDat >::operator->(), THashKeyDatI< TKey, TDat >::operator<(), THashKeyDatI< TKey, TDat >::operator=(), and THashKeyDatI< TKey, TDat >::operator==().