SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <dt.h>
Public Member Functions | |
TCh () | |
TCh (const char &_Val) | |
operator char () const | |
TCh (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 |
TCh & | operator= (const TCh &Ch) |
bool | operator== (const TCh &Ch) const |
bool | operator< (const TCh &Ch) const |
char | operator() () const |
int | GetMemUsed () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
Static Public Member Functions | |
static bool | IsHashCh (const char &Ch) |
static bool | IsWs (const char &Ch) |
static bool | IsAlpha (const char &Ch) |
static bool | IsNum (const char &Ch) |
static bool | IsAlNum (const char &Ch) |
static int | GetNum (const char &Ch) |
static bool | IsHex (const char &Ch) |
static int | GetHex (const char &Ch) |
static char | GetHexCh (const int &Val) |
static char | IsUc (const char &Ch) |
static char | GetUc (const char &Ch) |
static char | GetUsFromYuAscii (const char &Ch) |
static TStr | GetStr (const TCh &Ch) |
Public Attributes | |
char | Val |
Static Public Attributes | |
static const char | Mn =CHAR_MIN |
static const char | Mx =CHAR_MAX |
static const int | Vals =int(TCh::Mx)-int(TCh::Mn)+1 |
static const char | NullCh =char(0) |
static const char | TabCh =char(9) |
static const char | LfCh =char(10) |
static const char | CrCh =char(13) |
static const char | EofCh =char(26) |
static const char | HashCh ='#' |
|
inline |
Definition at line 950 of file dt.h.
Referenced by GetMemUsed().
|
inline |
|
inlineexplicit |
Definition at line 953 of file dt.h.
References TSIn::Load(), and Val.
|
inlinestatic |
Definition at line 979 of file dt.h.
References Fail.
Referenced by TUrl::DecodeUrlStr(), TStr::FromHex(), TXmlLx::GetPlainStrFromXmlStr(), TXmlParser::GetPlainStrFromXmlStr(), TXmlLx::GetReference(), TILx::GetSym(), TStr::IsHexInt(), TStr::IsHexInt64(), and THttpRq::ParseSearch().
|
inlinestatic |
Definition at line 984 of file dt.h.
References Fail.
Referenced by TMd5::GetSigStr(), TMd5Sig::GetStr(), and TStr::ToHex().
|
inline |
|
inlinestatic |
Definition at line 976 of file dt.h.
References Assert, and IsNum().
Referenced by TSsParserMP::GetInt(), TSsParser::GetInt(), TSsParserMP::GetIntFromFldV(), TXmlLx::GetPlainStrFromXmlStr(), TXmlParser::GetPlainStrFromXmlStr(), TXmlLx::GetReference(), TSsParser::GetUInt64(), TStr::IsInt(), TStr::IsInt64(), TStr::IsUInt(), and TStr::IsUInt64().
|
inline |
|
inline |
|
inlinestatic |
|
static |
Definition at line 1885 of file dt.cpp.
Referenced by TRStr::ConvUsFromYuAscii().
|
inlinestatic |
Definition at line 975 of file dt.h.
References IsAlpha(), and IsNum().
Referenced by TStrUtil::GetCleanStr(), TStrUtil::GetCleanWrdStr(), TStr::GetNrFMid(), TStr::IsWord(), TStr::SplitOnNonAlNum(), TStrUtil::SplitSentences(), and TStrUtil::SplitWords().
|
inlinestatic |
Definition at line 972 of file dt.h.
Referenced by IsAlNum(), and TStr::IsWord().
|
inlinestatic |
Definition at line 968 of file dt.h.
References HashCh.
Referenced by TMIn::SkipCommentLines().
|
inlinestatic |
Definition at line 977 of file dt.h.
Referenced by TUrl::DecodeUrlStr(), TXmlLx::GetPlainStrFromXmlStr(), TXmlParser::GetPlainStrFromXmlStr(), TXmlLx::GetReference(), TILx::GetSym(), TStr::IsHexInt(), TStr::IsHexInt64(), and THttpRq::ParseSearch().
|
inlinestatic |
Definition at line 974 of file dt.h.
Referenced by TSecTm::GetDtTmFromStr(), TSsParserMP::GetFlt(), TSsParser::GetFlt(), TSsParserMP::GetFltFromFldV(), TKronMtx::GetInitMtx(), TSsParserMP::GetInt(), TSsParser::GetInt(), TSsParserMP::GetIntFromFldV(), GetNum(), TXmlLx::GetPlainStrFromXmlStr(), TXmlParser::GetPlainStrFromXmlStr(), TXmlLx::GetReference(), TTm::GetTmFromIdStr(), TSsParser::GetUInt64(), IsAlNum(), TStr::IsFlt(), TStr::IsInt(), TStr::IsInt64(), TStr::IsUInt(), and TStr::IsUInt64().
|
inlinestatic |
Definition at line 988 of file dt.h.
Referenced by TStr::IsWord().
|
inlinestatic |
Definition at line 970 of file dt.h.
References CrCh, LfCh, and TabCh.
Referenced by TChA::CompressWs(), TStrUtil::CountWords(), TStrUtil::GetCleanStr(), TSsParserMP::GetFlt(), TSsParser::GetFlt(), TSsParserMP::GetFltFromFldV(), TSsParserMP::GetInt(), TSsParser::GetInt(), TSsParserMP::GetIntFromFldV(), TXmlParser::GetSym(), TSsParser::GetUInt64(), TStr::IsFlt(), TStr::IsHexInt(), TStr::IsHexInt64(), TStr::IsInt(), TStr::IsInt64(), TStr::IsUInt(), TStr::IsUInt64(), TStr::IsWord(), TStr::IsWs(), TSsParserMP::Next(), TSsParser::Next(), TSsParserMP::NextFromIndex(), TSsParser::NextSlow(), TStr::SplitOnWs(), TStrUtil::SplitSentences(), TChA::ToTrunc(), and TStr::ToTrunc().
|
inline |
Definition at line 954 of file dt.h.
References TSIn::Load(), and Val.
Definition at line 1876 of file dt.cpp.
References TXmlObjSer::GetIntArg(), Val, and XLoadHd.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 955 of file dt.h.
References TSOut::Save(), and Val.
Definition at line 1881 of file dt.cpp.
References TInt::GetStr(), Val, and XSaveBETagArg.
|
static |
Definition at line 946 of file dt.h.
Referenced by THttpLx::GetCrLf(), TMOut::GetCrLfLn(), TMOut::GetEolnLn(), THttpLx::GetFldVal(), TILx::GetLnV(), THttpLx::GetLws(), THttpLx::GetRespReasonPhrase(), TILx::GetStrToEoln(), TILx::GetStrToEolnAndCh(), TILx::GetStrToEolnOrCh(), TILx::GetSym(), THttpLx::IsCrLf(), TMOut::IsCrLfLn(), THtmlLxChDef::IsEoln(), TXmlChDef::IsEoln(), TMOut::IsEolnLn(), THttpChDef::IsLws(), THttpLx::IsLws(), TWebPg::IsTxt(), THtmlLxChDef::IsWs(), TXmlChDef::IsWs(), IsWs(), TMOut::MkEolnLn(), TSOut::PutDosLn(), TILx::SkipToEoln(), TLxChDef::TLxChDef(), and TXmlLx::ToNrSpacing().
|
static |
Definition at line 947 of file dt.h.
Referenced by THtmlLx::GetCh(), TXmlLx::GetCh(), TILx::GetCh(), TPreproc::GetCh(), TXmlParser::GetCh(), THtmlLx::GetMetaTag(), TILx::GetSIn(), TILx::GetStrToCh(), TILx::GetStrToEoln(), TILx::GetStrToEolnAndCh(), TILx::GetStrToEolnOrCh(), TXmlLx::GetSym(), TILx::GetSym(), TXmlParser::GetSym(), THtmlLx::GetTag(), TILx::IsEof(), TLnRet::NextLn(), TILx::SkipToEoln(), THtmlLxChDef::THtmlLxChDef(), TLxChDef::TLxChDef(), and TPreproc::TPreproc().
|
static |
Definition at line 948 of file dt.h.
Referenced by IsHashCh().
|
static |
Definition at line 945 of file dt.h.
Referenced by TXmlLx::GetCh(), THttpLx::GetCrLf(), TMOut::GetCrLfLn(), TMOut::GetEolnLn(), THttpLx::GetFldVal(), TILx::GetLnV(), THttpLx::GetLws(), THttpLx::GetRespReasonPhrase(), TILx::GetStrToEoln(), TILx::GetStrToEolnAndCh(), TILx::GetStrToEolnOrCh(), TILx::GetSym(), THttpLx::IsCrLf(), TMOut::IsCrLfLn(), THtmlLxChDef::IsEoln(), TXmlChDef::IsEoln(), TMOut::IsEolnLn(), THttpChDef::IsLws(), THttpLx::IsLws(), TWebPg::IsTxt(), THtmlLxChDef::IsWs(), TXmlChDef::IsWs(), IsWs(), TMOut::MkEolnLn(), TSOut::PutDosLn(), TILx::SkipToEoln(), TLxChDef::TLxChDef(), and TXmlLx::ToNrSpacing().
|
static |
Definition at line 939 of file dt.h.
Referenced by TLxChDef::GetChTy(), THtmlLxChDef::GetChTy(), THttpChDef::GetChTy(), TStr::GetDChStr(), THtmlLxChDef::GetLc(), THttpChDef::GetLcCh(), TLxChDef::GetUc(), THtmlLxChDef::GetUc(), TLxChDef::IsAlNum(), THtmlLxChDef::IsAlNum(), TLxChDef::IsAlpha(), THtmlLxChDef::IsAlpha(), THttpChDef::IsAlpha(), THttpChDef::IsCtl(), THttpChDef::IsDigit(), THtmlLxChDef::IsLc(), TLxChDef::IsNum(), THtmlLxChDef::IsNum(), TLxChDef::IsSpace(), THtmlLxChDef::IsSpace(), THttpChDef::IsSpec(), THtmlLxChDef::IsSym(), TLxChDef::IsTerm(), THtmlLxChDef::IsUc(), THtmlLxChDef::IsUrl(), TLxChDef::SetChTy(), THtmlLxChDef::SetChTy(), THttpChDef::SetChTy(), THttpChDef::SetLcCh(), TLxChDef::SetUcCh(), THtmlLxChDef::SetUcCh(), THtmlLxChDef::THtmlLxChDef(), THttpChDef::THttpChDef(), and TLxChDef::TLxChDef().
|
static |
Definition at line 940 of file dt.h.
Referenced by THtmlLxChDef::THtmlLxChDef(), THttpChDef::THttpChDef(), and TLxChDef::TLxChDef().
|
static |
Definition at line 943 of file dt.h.
Referenced by TGBlobBs::DelBlob(), TWCh::GetCh(), THttpLx::GetCh(), TFRnd::GetStr(), TSIn::Load(), TSs::LoadTxtFldV(), and TGBlobBs::PutBlob().
|
static |
Definition at line 944 of file dt.h.
Referenced by THttpLx::GetLws(), TILx::GetSym(), THttpLx::GetWs(), THttpChDef::IsLws(), THttpLx::IsLws(), TWebPg::IsTxt(), THtmlLxChDef::IsWs(), TXmlChDef::IsWs(), IsWs(), TOLx::PutSep(), and TOLx::PutTab().
char TCh::Val |
Definition at line 937 of file dt.h.
Referenced by GetPrimHashCd(), GetSecHashCd(), GetStr(), Load(), LoadXml(), operator char(), operator()(), operator<(), operator=(), operator==(), Save(), SaveXml(), and TCh().
Definition at line 941 of file dt.h.
Referenced by TStr::GetDChStr().