SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <dt.h>
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 |
TBool & | operator= (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" |
|
inline |
Definition at line 987 of file dt.h.
Referenced by GetMemUsed().
|
inlineexplicit |
Definition at line 990 of file dt.h.
References TSIn::Load(), and Val.
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 1006 of file dt.h.
References TRnd::GetUniDevInt(), and Rnd.
|
inline |
|
inlinestatic |
Definition at line 1008 of file dt.h.
References FalseStr, and TrueStr.
Referenced by TXmlTok::AddArg(), TEnv::GetIfArgPrefixBool(), GetStr(), TSOut::PutBool(), TOLx::PutBool(), TPt< TRec >::SaveXml(), and SaveXml().
|
static |
Definition at line 1850 of file dt.cpp.
References TrueStr, YesStr, and YStr.
Referenced by TEnv::GetIfArgPrefixBool(), and TILx::GetSym().
|
static |
Definition at line 1854 of file dt.cpp.
References TStr::GetUc(), IsValStr(), TrueStr, YesStr, and YStr.
|
inlinestatic |
Definition at line 1014 of file dt.h.
Referenced by TEnv::GetIfArgPrefixBool().
|
static |
Definition at line 1842 of file dt.cpp.
References FalseStr, TStr::GetUc(), NoStr, NStr, TrueStr, YesStr, and YStr.
Referenced by TILx::GetSym(), and GetValFromStr().
|
inline |
Definition at line 991 of file dt.h.
References TSIn::Load(), and Val.
Referenced by TAGMFast::Load(), TCoda::Load(), TStrHash< TInt, TBigStrPool >::Load(), and TStrHash< TInt, TBigStrPool >::LoadShM().
Definition at line 1833 of file dt.cpp.
References TXmlObjSer::GetBoolArg(), Val, and XLoadHd.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 992 of file dt.h.
References TSOut::Save(), and Val.
Referenced by TJsonVal::Save(), TAGMFast::Save(), TCoda::Save(), TBigNet< TNodeData, IsDir >::Save(), THash< TPair, THash >::Save(), TCrossNet::Save(), TPt< TRec >::Save(), TStrHash< TInt, TBigStrPool >::Save(), and THashSet< TInt >::Save().
Definition at line 1838 of file dt.cpp.
References GetStr(), Val, and XSaveBETagArg.
|
static |
Definition at line 980 of file dt.h.
Referenced by GetStr(), and IsValStr().
|
static |
Definition at line 984 of file dt.h.
Referenced by GetYesNoStr(), and IsValStr().
|
static |
Definition at line 982 of file dt.h.
Referenced by GetYNStr(), and IsValStr().
|
static |
Definition at line 981 of file dt.h.
Referenced by TXmlTok::GetBoolArgVal(), GetStr(), GetValFromStr(), and IsValStr().
bool TBool::Val |
Definition at line 973 of file dt.h.
Referenced by TCrossNet::Clr(), GetPrimHashCd(), GetSecHashCd(), GetStr(), Load(), LoadXml(), operator bool(), operator()(), operator<(), operator=(), operator==(), GroupStmt::Print(), Save(), SaveXml(), and TBool().
|
static |
Definition at line 985 of file dt.h.
Referenced by GetValFromStr(), GetYesNoStr(), and IsValStr().
|
static |
Definition at line 983 of file dt.h.
Referenced by GetValFromStr(), GetYNStr(), and IsValStr().