SNAP Library , Developer Reference  2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TUCh Class Reference

#include <dt.h>

List of all members.

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
TUChoperator= (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

Detailed Description

Definition at line 989 of file dt.h.


Constructor & Destructor Documentation

TUCh::TUCh ( ) [inline]

Definition at line 997 of file dt.h.

Referenced by GetMemUsed().

Here is the caller graph for this function:

TUCh::TUCh ( const uchar _Val) [inline]

Definition at line 998 of file dt.h.

: Val(_Val){}
TUCh::TUCh ( TSIn SIn) [inline, explicit]

Definition at line 1000 of file dt.h.

References TSIn::Load(), and Val.

{SIn.Load(Val);}

Here is the call graph for this function:


Member Function Documentation

int TUCh::GetMemUsed ( ) const [inline]

Definition at line 1009 of file dt.h.

References TUCh().

{return sizeof(TUCh);}

Here is the call graph for this function:

int TUCh::GetPrimHashCd ( ) const [inline]

Definition at line 1011 of file dt.h.

References Val.

{return Val;}
int TUCh::GetSecHashCd ( ) const [inline]

Definition at line 1012 of file dt.h.

References Val.

{return Val;}
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"));
}

Here is the call graph for this function:

TUCh::operator uchar ( ) const [inline]

Definition at line 999 of file dt.h.

References Val.

{return Val;}
uchar TUCh::operator() ( ) const [inline]

Definition at line 1008 of file dt.h.

References Val.

{return Val;}
bool TUCh::operator< ( const TUCh UCh) const [inline]

Definition at line 1007 of file dt.h.

References Val.

{return Val<UCh.Val;}
TUCh& TUCh::operator= ( const TUCh UCh) [inline]

Definition at line 1005 of file dt.h.

References Val.

{Val=UCh.Val; return *this;}
bool TUCh::operator== ( const TUCh UCh) const [inline]

Definition at line 1006 of file dt.h.

References Val.

{return Val==UCh.Val;}
void TUCh::Save ( TSOut SOut) const [inline]

Definition at line 1001 of file dt.h.

References TSOut::Save(), and Val.

{SOut.Save(Val);}

Here is the call graph for this function:

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));
}

Here is the call graph for this function:


Member Data Documentation

const uchar TUCh::Mn = 0 [static]

Definition at line 993 of file dt.h.

Referenced by TUniChDb::LoadTxt().

const uchar TUCh::Mx = UCHAR_MAX [static]

Definition at line 994 of file dt.h.

Referenced by TUniChDb::LoadTxt(), and TXmlChDef::TXmlChDef().

const int TUCh::Vals = int(TUCh::Mx)-int(TUCh::Mn)+1 [static]

Definition at line 995 of file dt.h.


The documentation for this class was generated from the following files: