|
SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
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 | 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 202 of file table.h.
Adds string Key to the context, returns its KeyId.
Definition at line 208 of file table.h.
References TStrHash< TDat, TStringPool, THashFunc >::AddKey(), and StringVals.

Returns a string with KeyId.
Definition at line 213 of file table.h.
References TStrHash< TDat, TStringPool, THashFunc >::GetKey(), and StringVals.

|
inline |
Loads TTableContext in binary from SIn.
Definition at line 204 of file table.h.
References TStrHash< TDat, TStringPool, THashFunc >::Load(), and StringVals.

|
inline |
Saves TTableContext in binary to SOut.
Definition at line 206 of file table.h.
References TStrHash< TDat, TStringPool, THashFunc >::Save(), and StringVals.

|
protected |
StringPool - stores string data values and maps them to integers.
Definition at line 196 of file table.h.
Referenced by AddStr(), TTable::AddStrVal(), TTable::BuildGraph(), TTable::ChangeContext(), TTable::ColConcat(), TTable::ColConcatConst(), TTable::GetContextKey(), TTable::GetContextMemUsedKB(), GetStr(), TTable::GetStr(), TTable::GetStrVal(), Load(), TTable::PrintContextSize(), Save(), and TTable::StoreStrCol().