SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TBool Class Reference

List of all members.

Public Member Functions

 TBool ()
 TBool (const bool &_Val)
 operator bool () const
 TBool (TSIn &SIn)
void Load (TSIn &SIn)
void Save (TSOut &SOut) const
void LoadXml (const PXmlTok &XmlTok, const TStr &Nm)
void SaveXml (TSOut &SOut, const TStr &Nm) const
TBooloperator= (const TBool &Bool)
bool operator== (const TBool &Bool) const
bool operator< (const TBool &Bool) const
bool operator() () const
int GetMemUsed () const
int GetPrimHashCd () const
int GetSecHashCd () const

Static Public Member Functions

static bool GetRnd ()
static TStr GetStr (const bool &Val)
static TStr GetStr (const TBool &Bool)
static TStr GetYNStr (const bool &Val)
static TStr GetYesNoStr (const bool &Val)
static TStr Get01Str (const bool &Val)
static bool IsValStr (const TStr &Str)
static bool GetValFromStr (const TStr &Str)
static bool GetValFromStr (const TStr &Str, const bool &DfVal)

Public Attributes

bool Val

Static Public Attributes

static const bool Mn = 0
static const bool Mx = 1
static const int Vals = TBool::Mx-TBool::Mn+1
static TRnd Rnd
static const TStr FalseStr = "F"
static const TStr TrueStr = "T"
static const TStr NStr = "N"
static const TStr YStr = "Y"
static const TStr NoStr = "No"
static const TStr YesStr = "Yes"

Constructor & Destructor Documentation

TBool::TBool ( ) [inline]
TBool::TBool ( const bool &  _Val) [inline]
TBool::TBool ( TSIn SIn) [inline, explicit]

Member Function Documentation

static TStr TBool::Get01Str ( const bool &  Val) [inline, static]
int TBool::GetMemUsed ( ) const [inline]
int TBool::GetPrimHashCd ( ) const [inline]
static bool TBool::GetRnd ( ) [inline, static]
int TBool::GetSecHashCd ( ) const [inline]
static TStr TBool::GetStr ( const bool &  Val) [inline, static]
static TStr TBool::GetStr ( const TBool Bool) [inline, static]
bool TBool::GetValFromStr ( const TStr Str) [static]
bool TBool::GetValFromStr ( const TStr Str,
const bool &  DfVal 
) [static]
static TStr TBool::GetYesNoStr ( const bool &  Val) [inline, static]
static TStr TBool::GetYNStr ( const bool &  Val) [inline, static]
bool TBool::IsValStr ( const TStr Str) [static]
void TBool::Load ( TSIn SIn) [inline]
void TBool::LoadXml ( const PXmlTok &  XmlTok,
const TStr Nm 
)
TBool::operator bool ( ) const [inline]
bool TBool::operator() ( ) const [inline]
bool TBool::operator< ( const TBool Bool) const [inline]
TBool& TBool::operator= ( const TBool Bool) [inline]
bool TBool::operator== ( const TBool Bool) const [inline]
void TBool::Save ( TSOut SOut) const [inline]
void TBool::SaveXml ( TSOut SOut,
const TStr Nm 
) const

Member Data Documentation

const TStr TBool::FalseStr = "F" [static]
const bool TBool::Mn = 0 [static]
const bool TBool::Mx = 1 [static]
const TStr TBool::NoStr = "No" [static]
const TStr TBool::NStr = "N" [static]
TRnd TBool::Rnd [static]
const TStr TBool::TrueStr = "T" [static]
bool TBool::Val
const int TBool::Vals = TBool::Mx-TBool::Mn+1 [static]
const TStr TBool::YesStr = "Yes" [static]
const TStr TBool::YStr = "Y" [static]

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