|
SNAP Library 2.4, User Reference
2015-05-11 19:40:56
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <hash.h>
Public Member Functions | |
| TBigStrPool (TSize MxBfLen=0, uint _GrowBy=16 *1024 *1024) | |
| TBigStrPool (TSIn &SIn, bool LoadCompact=true) | |
| TBigStrPool (const TBigStrPool &Pool) | |
| ~TBigStrPool () | |
| void | Save (TSOut &SOut) const |
| void | Save (const TStr &fileName) |
| int | GetStrs () const |
| TSize | Len () const |
| TSize | Size () const |
| bool | Empty () const |
| char * | operator() () const |
| TBigStrPool & | operator= (const TBigStrPool &Pool) |
| int | AddStr (const char *Str, uint Len) |
| int | AddStr (const char *Str) |
| int | AddStr (const TStr &Str) |
| TStr | GetStr (const int &StrId) const |
| const char * | GetCStr (const int &StrId) const |
| TStr | GetStrFromOffset (const TSize &Offset) const |
| const char * | GetCStrFromOffset (const TSize &Offset) const |
| void | Clr (bool DoDel=false) |
| int | Cmp (const int &StrId, const char *Str) const |
| int | GetPrimHashCd (const int &StrId) |
| int | GetSecHashCd (const int &StrId) |
Static Public Member Functions | |
| static PBigStrPool | New (TSize _MxBfLen=0, uint _GrowBy=16 *1024 *1024) |
| static PBigStrPool | New (TSIn &SIn) |
| static PBigStrPool | New (const TStr &fileName) |
| static PBigStrPool | Load (TSIn &SIn, bool LoadCompacted=true) |
| static int | GetPrimHashCd (const char *CStr) |
| static int | GetSecHashCd (const char *CStr) |
Private Member Functions | |
| void | Resize (TSize _MxBfL) |
Private Attributes | |
| TCRef | CRef |
| TSize | MxBfL |
| TSize | BfL |
| uint | GrowBy |
| char * | Bf |
| TVec< TSize > | IdOffV |
Friends | |
| class | TPt< TBigStrPool > |
| TBigStrPool::TBigStrPool | ( | TSIn & | SIn, |
| bool | LoadCompact = true |
||
| ) |
|
inline |
| int TBigStrPool::AddStr | ( | const char * | Str, |
| uint | Len | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 707 of file hash.h.
|
inlinestatic |
Definition at line 676 of file hash.h.
|
inlinestatic |
Definition at line 673 of file hash.h.
|
inlinestatic |
Definition at line 674 of file hash.h.
|
inlinestatic |
Definition at line 675 of file hash.h.
| TBigStrPool & TBigStrPool::operator= | ( | const TBigStrPool & | Pool | ) |
|
friend |