SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <hash.h>
Public Types | |
typedef THashKeyDat< TKey, TDat > | THKeyDat |
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 |
THashKeyDatI & | Next () |
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 Attributes | |
THKeyDat * | KeyDatI |
THKeyDat * | EndI |
typedef THashKeyDat<TKey, TDat> THashKeyDatI< TKey, TDat >::THKeyDat |
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 72 of file hash.h.
References Assert, THashKeyDat< TKey, TDat >::Dat, THashKeyDat< TKey, TDat >::HashCd, and THashKeyDatI< TKey, TDat >::KeyDatI.
Referenced by TNEANet::EdgeAttrIsFltDeleted(), TNEANet::EdgeAttrIsIntDeleted(), TNEANet::EdgeAttrIsStrDeleted(), TNEANet::FltAttrNameEI(), TNEANet::FltAttrNameNI(), TNEANet::FltAttrValueEI(), TNEANet::FltAttrValueNI(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), TNEANet::GetEdgeAttrValue(), TNEANet::GetNodeAttrValue(), TCluster::Gradient(), TNEANet::IntAttrNameEI(), TNEANet::IntAttrNameNI(), TNEANet::IntAttrValueEI(), TNEANet::IntAttrValueNI(), TNEANet::NodeAttrIsFltDeleted(), TNEANet::NodeAttrIsIntDeleted(), TNEANet::NodeAttrIsStrDeleted(), TNEANet::StrAttrNameEI(), TNEANet::StrAttrNameNI(), TNEANet::StrAttrValueEI(), and TNEANet::StrAttrValueNI().
TDat& THashKeyDatI< TKey, TDat >::GetDat | ( | ) | [inline] |
Definition at line 73 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 71 of file hash.h.
References Assert, THashKeyDat< TKey, TDat >::HashCd, THashKeyDat< TKey, TDat >::Key, and THashKeyDatI< TKey, TDat >::KeyDatI.
Referenced by TNEANet::AttrNameEI(), TNEANet::AttrNameNI(), TNEANet::EdgeAttrIsFltDeleted(), TNEANet::EdgeAttrIsIntDeleted(), TNEANet::EdgeAttrIsStrDeleted(), TNEANet::FltAttrNameEI(), TNEANet::FltAttrNameNI(), TNetInfBs::GenCascade(), TNIBs::GenCascade(), TNEANet::GetEdgeAttrValue(), TNEANet::GetNodeAttrValue(), TNEANet::IntAttrNameEI(), TNEANet::IntAttrNameNI(), TNEANet::NodeAttrIsFltDeleted(), TNEANet::NodeAttrIsIntDeleted(), TNEANet::NodeAttrIsStrDeleted(), TNEANet::StrAttrNameEI(), and TNEANet::StrAttrNameNI().
bool THashKeyDatI< TKey, TDat >::IsEmpty | ( | ) | const [inline] |
Tests whether the iterator has been initialized.
Definition at line 67 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 69 of file hash.h.
References THashKeyDatI< TKey, TDat >::EndI, and THashKeyDatI< TKey, TDat >::KeyDatI.
Referenced by TNEANet::AttrNameEI(), TNEANet::AttrNameNI(), TNEANet::AttrValueEI(), TNEANet::AttrValueNI(), TNEANet::FltAttrNameEI(), TNEANet::FltAttrNameNI(), TNEANet::FltAttrValueEI(), TNEANet::FltAttrValueNI(), TCluster::Gradient(), Inner(), TNEANet::IntAttrNameEI(), TNEANet::IntAttrNameNI(), TNEANet::IntAttrValueEI(), TNEANet::IntAttrValueNI(), TCluster::LogLikelihood(), TCluster::MCMC(), TNEANet::StrAttrNameEI(), TNEANet::StrAttrNameNI(), TNEANet::StrAttrValueEI(), TNEANet::StrAttrValueNI(), and TGraphAttributes::TGraphAttributes().
THashKeyDatI& THashKeyDatI< TKey, TDat >::Next | ( | ) | [inline] |
Definition at line 64 of file hash.h.
References THashKeyDatI< TKey, TDat >::operator++().
{ operator++(1); return *this; }
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 59 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
Referenced by THashKeyDatI< TKey, TDat >::Next().
THashKeyDatI& THashKeyDatI< TKey, TDat >::operator-- | ( | int | ) | [inline] |
Definition at line 60 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 57 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
THashKeyDatI& THashKeyDatI< TKey, TDat >::operator= | ( | const THashKeyDatI< TKey, TDat > & | HashKeyDatI | ) | [inline] |
Definition at line 53 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 55 of file hash.h.
References THashKeyDatI< TKey, TDat >::KeyDatI.
THKeyDat* THashKeyDatI< TKey, TDat >::EndI [private] |
Definition at line 45 of file hash.h.
Referenced by TSnap::GetFarnessCentr(), TBigNet< TNodeData, IsDir >::GetNIdV(), THashKeyDatI< TKey, TDat >::IsEnd(), TAGMFast::MLEGradAscentParallel(), TCesna::MLEGradAscentParallel(), and THashKeyDatI< TKey, TDat >::operator=().
THKeyDat* THashKeyDatI< TKey, TDat >::KeyDatI [private] |
Definition at line 44 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==().