|
SNAP Library 2.2, User Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <dt.h>
Public Member Functions | |
| TMem (const int &_MxBfL=0) | |
| TMem (const void *_Bf, const int &_BfL) | |
| TMem (const TMem &Mem) | |
| TMem (const TStr &Str) | |
| ~TMem () | |
| TMem (TSIn &SIn) | |
| void | Save (TSOut &SOut) const |
| void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm) |
| void | SaveXml (TSOut &SOut, const TStr &Nm) const |
| TMem & | operator= (const TMem &Mem) |
| char * | operator() () const |
| TMem & | operator+= (const char &Ch) |
| TMem & | operator+= (const TMem &Mem) |
| TMem & | operator+= (const TStr &Str) |
| TMem & | operator+= (const PSIn &SIn) |
| char & | operator[] (const int &ChN) const |
| int | GetMemUsed () const |
| void | Gen (const int &_BfL) |
| void | GenZeros (const int &_BfL) |
| void | Reserve (const int &_MxBfL, const bool &DoClr=true) |
| void | Del (const int &BChN, const int &EChN) |
| void | Clr (const bool &DoDel=true) |
| int | Len () const |
| bool | Empty () const |
| void | Trunc (const int &_BfL) |
| void | Push (const char &Ch) |
| char | Pop () |
| bool | DoFitStr (const TStr &Str) const |
| void | AddBf (const void *Bf, const int &BfL) |
| char * | GetBf () const |
| TStr | GetAsStr (const char &NewNullCh='\0') const |
| PSIn | GetSIn () const |
| void | SaveMem (const PSOut &SOut) const |
Static Public Member Functions | |
| static PMem | New (const int &MxBfL=0) |
| static PMem | New (const void *Bf, const int &BfL) |
| static PMem | New (const TMem &Mem) |
| static PMem | New (const PMem &Mem) |
| static PMem | New (const TStr &Str) |
| static void | LoadMem (const PSIn &SIn, TMem &Mem) |
| static void | LoadMem (const PSIn &SIn, const PMem &Mem) |
Private Member Functions | |
| void | Resize (const int &_MxBfL) |
| bool | DoFitLen (const int &LBfL) const |
Private Attributes | |
| TCRef | CRef |
| int | MxBfL |
| int | BfL |
| char * | Bf |
Friends | |
| class | TPt< TMem > |
| TMem::TMem | ( | const int & | _MxBfL = 0 | ) | [inline] |
| TMem::TMem | ( | const void * | _Bf, |
| const int & | _BfL | ||
| ) | [inline] |
| TMem::TMem | ( | const TMem & | Mem | ) | [inline] |
| TMem::TMem | ( | const TStr & | Str | ) |
| TMem::~TMem | ( | ) | [inline] |
| TMem::TMem | ( | TSIn & | SIn | ) | [inline, explicit] |
| void TMem::AddBf | ( | const void * | Bf, |
| const int & | BfL | ||
| ) |
| void TMem::Clr | ( | const bool & | DoDel = true | ) | [inline] |
| void TMem::Del | ( | const int & | BChN, |
| const int & | EChN | ||
| ) |
| bool TMem::DoFitLen | ( | const int & | LBfL | ) | const [inline, private] |
| bool TMem::DoFitStr | ( | const TStr & | Str | ) | const |
| bool TMem::Empty | ( | ) | const [inline] |
| void TMem::Gen | ( | const int & | _BfL | ) | [inline] |
| void TMem::GenZeros | ( | const int & | _BfL | ) | [inline] |
| TStr TMem::GetAsStr | ( | const char & | NewNullCh = '\0' | ) | const |
| char* TMem::GetBf | ( | ) | const [inline] |
| int TMem::GetMemUsed | ( | ) | const [inline] |
| PSIn TMem::GetSIn | ( | ) | const [inline] |
| static void TMem::LoadMem | ( | const PSIn & | SIn, |
| TMem & | Mem | ||
| ) | [inline, static] |
| static void TMem::LoadMem | ( | const PSIn & | SIn, |
| const PMem & | Mem | ||
| ) | [inline, static] |
| void TMem::LoadXml | ( | const PXmlTok & | XmlTok, |
| const TStr & | Nm | ||
| ) |
| TMem & TMem::operator+= | ( | const char & | Ch | ) |
| char& TMem::operator[] | ( | const int & | ChN | ) | const [inline] |
| char TMem::Pop | ( | ) | [inline] |
| void TMem::Push | ( | const char & | Ch | ) | [inline] |
Definition at line 138 of file dt.h.
{operator+=(Ch);}
| void TMem::Reserve | ( | const int & | _MxBfL, |
| const bool & | DoClr = true |
||
| ) | [inline] |
| void TMem::Resize | ( | const int & | _MxBfL | ) | [private] |
| void TMem::Save | ( | TSOut & | SOut | ) | const [inline] |
| void TMem::SaveMem | ( | const PSOut & | SOut | ) | const [inline] |
| void TMem::SaveXml | ( | TSOut & | SOut, |
| const TStr & | Nm | ||
| ) | const |
Definition at line 242 of file dt.cpp.
{
XSaveHdArg(Nm, "BfL", TInt::GetStr(BfL));
SOut.PutStr(TXmlLx::GetXmlStrFromPlainMem(*this));
}
| void TMem::Trunc | ( | const int & | _BfL | ) | [inline] |
TCRef TMem::CRef [private] |
int TMem::MxBfL [private] |