SNAP Library 2.3, User Reference
2014-06-16 11:58:46
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <fds.h>
Public Member Functions | |
TFHash (const TStr &HashFNm, const TFAccess &_Access, const int &Ports, const int &MxMemUsed) | |
~TFHash () | |
TFHash (TSIn &) | |
void | Save (TSOut &) |
TFHash & | operator= (const TFHash &) |
int | GetMemUsed () |
void | CacheFlushAndClr () |
bool | Empty () const |
int | Len () const |
TBlobPt | AddFDat (const TKey &Key, const TFDat &FDat) |
TBlobPt | AddVDat (const TKey &Key, const TVDat &VDat) |
TBlobPt | AddFVDat (const TKey &Key, const TFDat &FDat, const TVDat &VDat) |
void | DelKey (const TKey &Key) |
void | DelKeyId (const TBlobPt &KeyId) |
void | GetKey (const TBlobPt &KeyId, TKey &Key) |
TBlobPt | GetKeyId (const TKey &Key) |
bool | IsKey (const TKey &Key) |
bool | IsKey (const TKey &Key, TBlobPt &KeyId) |
TBlobPt | GetFDat (const TKey &Key, TFDat &FDat) |
TBlobPt | GetVDat (const TKey &Key, TVDat &VDat) |
TBlobPt | GetFVDat (const TKey &Key, TFDat &FDat, TVDat &VDat) |
void | GetKeyFDat (const TBlobPt &KeyId, TKey &Key, TFDat &FDat) |
void | GetKeyFVDat (const TBlobPt &KeyId, TKey &Key, TFDat &FDat, TVDat &VDat) |
TBlobPt | FFirstKeyId () |
bool | FNextKeyId (TBlobPt &TrvBlobPt, TBlobPt &KeyId) |
Static Public Member Functions | |
static PFHash | Load (TSIn &) |
Private Types | |
typedef TPt< TFHash< TKey, TFDat, TVDat > > | PFHash |
typedef TFHashKey< TKey, TFDat, TVDat > | THashKey |
typedef TPt< THashKey > | PHashKey |
Private Member Functions | |
void * | GetVoidThis () const |
PBlobBs | GetHashBBs () |
PHashKey | GetFHashKey (const TBlobPt &KeyId) |
void | GetKeyInfo (const TKey &Key, int &PortN, TBlobPt &PrevKeyId, TBlobPt &KeyId, PHashKey &FHashKey) |
void | GetKeyInfo (const TKey &Key, TBlobPt &KeyId, PHashKey &FHashKey) |
TBlobPt | AddKey (const TKey &Key, const bool &ChangeFDat, const TFDat &FDat, const bool &ChangeVDatBPt, const TBlobPt &VDatBPt) |
TBlobPt | AddDat (const TKey &Key, const bool &ChangeFDat, const TFDat &FDat, const bool &ChangeVDat, const TVDat &VDat) |
Private Attributes | |
TCRef | CRef |
TFAccess | Access |
PBlobBs | HashBBs |
TBlobPtV | PortV |
TInt | Keys |
TCache< TBlobPt, PHashKey > | FHashKeyCache |
Friends | |
class | TFHashKey< TKey, TFDat, TVDat > |
class | TPt< TFHash< TKey, TFDat, TVDat > > |
TFHash< TKey, TFDat, TVDat >::TFHash | ( | const TStr & | HashFNm, |
const TFAccess & | _Access, | ||
const int & | Ports, | ||
const int & | MxMemUsed | ||
) |
Definition at line 180 of file fds.h.
Definition at line 207 of file fds.h.
|
private |
Definition at line 258 of file fds.h.
|
inline |
Definition at line 124 of file fds.h.
|
inline |
|
private |
Definition at line 219 of file fds.h.
|
inline |
|
inline |
void TFHash< TKey, TFDat, TVDat >::DelKey | ( | const TKey & | Key | ) |
Definition at line 285 of file fds.h.
|
inline |
|
inline |
TBlobPt TFHash< TKey, TFDat, TVDat >::FFirstKeyId | ( | ) |
bool TFHash< TKey, TFDat, TVDat >::FNextKeyId | ( | TBlobPt & | TrvBlobPt, |
TBlobPt & | KeyId | ||
) |
TBlobPt TFHash< TKey, TFDat, TVDat >::GetFDat | ( | const TKey & | Key, |
TFDat & | FDat | ||
) |
Definition at line 308 of file fds.h.
|
inlineprivate |
TBlobPt TFHash< TKey, TFDat, TVDat >::GetFVDat | ( | const TKey & | Key, |
TFDat & | FDat, | ||
TVDat & | VDat | ||
) |
Definition at line 331 of file fds.h.
|
inlineprivate |
|
inline |
void TFHash< TKey, TFDat, TVDat >::GetKeyFDat | ( | const TBlobPt & | KeyId, |
TKey & | Key, | ||
TFDat & | FDat | ||
) |
void TFHash< TKey, TFDat, TVDat >::GetKeyFVDat | ( | const TBlobPt & | KeyId, |
TKey & | Key, | ||
TFDat & | FDat, | ||
TVDat & | VDat | ||
) |
|
inline |
Definition at line 137 of file fds.h.
|
private |
|
inlineprivate |
Definition at line 97 of file fds.h.
|
inline |
TBlobPt TFHash< TKey, TFDat, TVDat >::GetVDat | ( | const TKey & | Key, |
TVDat & | VDat | ||
) |
Definition at line 319 of file fds.h.
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
friend |