SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <dt.h>
Public Member Functions | |
TUCh () | |
TUCh (const uchar &_Val) | |
operator uchar () const | |
TUCh (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
void | LoadXml (const PXmlTok &XmlTok, const TStr &Nm) |
void | SaveXml (TSOut &SOut, const TStr &Nm) const |
TUCh & | operator= (const TUCh &UCh) |
bool | operator== (const TUCh &UCh) const |
bool | operator< (const TUCh &UCh) const |
uchar | operator() () const |
int | GetMemUsed () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
Public Attributes | |
uchar | Val |
Static Public Attributes | |
static const uchar | Mn = 0 |
static const uchar | Mx = UCHAR_MAX |
static const int | Vals = int(TUCh::Mx)-int(TUCh::Mn)+1 |
TUCh::TUCh | ( | ) | [inline] |
Definition at line 997 of file dt.h.
Referenced by GetMemUsed().
: Val(TCh::NullCh){}
TUCh::TUCh | ( | const uchar & | _Val | ) | [inline] |
TUCh::TUCh | ( | TSIn & | SIn | ) | [inline, explicit] |
int TUCh::GetMemUsed | ( | ) | const [inline] |
int TUCh::GetPrimHashCd | ( | ) | const [inline] |
int TUCh::GetSecHashCd | ( | ) | const [inline] |
void TUCh::LoadXml | ( | const PXmlTok & | XmlTok, |
const TStr & | Nm | ||
) |
Definition at line 1874 of file dt.cpp.
References TXmlObjSer::GetIntArg(), Val, and XLoadHd.
{ XLoadHd(Nm); Val=uchar(TXmlObjSer::GetIntArg(XmlTok, "Val")); }
TUCh::operator uchar | ( | ) | const [inline] |
uchar TUCh::operator() | ( | ) | const [inline] |
bool TUCh::operator< | ( | const TUCh & | UCh | ) | const [inline] |
bool TUCh::operator== | ( | const TUCh & | UCh | ) | const [inline] |
void TUCh::Save | ( | TSOut & | SOut | ) | const [inline] |
void TUCh::SaveXml | ( | TSOut & | SOut, |
const TStr & | Nm | ||
) | const |
Definition at line 1879 of file dt.cpp.
References TInt::GetStr(), Val, and XSaveBETagArg.
{ XSaveBETagArg(Nm, "Val", TInt::GetStr(Val)); }
Definition at line 993 of file dt.h.
Referenced by TUniChDb::LoadTxt().
Definition at line 994 of file dt.h.
Referenced by TUniChDb::LoadTxt(), and TXmlChDef::TXmlChDef().
Definition at line 991 of file dt.h.
Referenced by GetPrimHashCd(), GetSecHashCd(), LoadXml(), operator uchar(), operator()(), operator<(), operator=(), operator==(), Save(), SaveXml(), and TUCh().
const int TUCh::Vals = int(TUCh::Mx)-int(TUCh::Mn)+1 [static] |