SNAP Library 6.0, User Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <dt.h>
Public Member Functions | |
TStrPool (const uint &MxBfLen=0, const uint &_GrowBy=16 *1024 *1024) | |
TStrPool (TSIn &SIn, bool LoadCompact=true) | |
TStrPool (const TStrPool &Pool) | |
~TStrPool () | |
void | Save (TSOut &SOut) const |
void | Save (const TStr &FNm) |
uint | Len () const |
uint | Size () const |
bool | Empty () const |
char * | operator() () const |
TStrPool & | operator= (const TStrPool &Pool) |
::TSize | GetMemUsed () |
uint | AddStr (const char *Str, const uint &Len) |
uint | AddStr (const char *Str) |
uint | AddStr (const TStr &Str) |
TStr | GetStr (const uint &Offset) const |
const char * | GetCStr (const uint &Offset) const |
void | Clr (bool DoDel=false) |
int | Cmp (const uint &Offset, const char *Str) const |
int | GetPrimHashCd (const uint &Offset) |
int | GetSecHashCd (const uint &Offset) |
Static Public Member Functions | |
static PStrPool | New (const uint &_MxBfLen=0, const uint &_GrowBy=16 *1024 *1024) |
static PStrPool | New (TSIn &SIn) |
static PStrPool | New (const TStr &fileName) |
static PStrPool | Load (TSIn &SIn, bool LoadCompacted=true) |
static int | GetPrimHashCd (const char *CStr) |
static int | GetSecHashCd (const char *CStr) |
static PStrPool | LoadShM (TSIn &SIn) |
Private Member Functions | |
void | Resize (const uint &_MxBfL) |
Private Attributes | |
TCRef | CRef |
uint | MxBfL |
uint | BfL |
uint | GrowBy |
char * | Bf |
Friends | |
class | TPt< TStrPool > |
TStrPool::TStrPool | ( | TSIn & | SIn, |
bool | LoadCompact = true |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 797 of file dt.h.
Definition at line 829 of file dt.h.
|
inlinestatic |
Definition at line 794 of file dt.h.
Definition at line 795 of file dt.h.
Definition at line 796 of file dt.h.
Definition at line 1700 of file dt.cpp.
|
private |