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
|
Execution context. More...
#include <table.h>
Public Member Functions | |
TTableContext () | |
Default constructor. More... | |
TTableContext (TSIn &SIn) | |
Loads TTableContext in binary from SIn . More... | |
void | Load (TSIn &SIn) |
Loads TTableContext in binary from SIn . More... | |
void | LoadShM (TShMIn &ShMIn) |
Loads TTableContext using shared memory, the object is read only. More... | |
void | Save (TSOut &SOut) |
Saves TTableContext in binary to SOut . More... | |
TInt | AddStr (const TStr &Key) |
Adds string Key to the context, returns its KeyId. More... | |
TStr | GetStr (const TInt &KeyId) const |
Returns a string with KeyId . More... | |
Protected Attributes | |
TStrHash< TInt, TBigStrPool > | StringVals |
StringPool - stores string data values and maps them to integers. More... | |
Friends | |
class | TTable |
|
inline |
|
inline |
Loads TTableContext in binary from SIn
.
Definition at line 189 of file table.h.
Adds string Key
to the context, returns its KeyId.
Definition at line 199 of file table.h.
Returns a string with KeyId
.
Definition at line 204 of file table.h.
|
inline |
Loads TTableContext in binary from SIn
.
Definition at line 191 of file table.h.
|
inline |
Loads TTableContext using shared memory, the object is read only.
Definition at line 193 of file table.h.
|
inline |
Saves TTableContext in binary to SOut
.
Definition at line 197 of file table.h.
|
protected |