SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <xml.h>
Static Public Member Functions | |
static TStr | GetTagNm (const TStr &TypeNm) |
static void | AssertXmlHd (const PXmlTok &XmlTok, const TStr &Nm, const TStr &TypeNm) |
static bool | GetBoolArg (const PXmlTok &XmlTok, const TStr &Nm) |
static int | GetIntArg (const PXmlTok &XmlTok, const TStr &Nm) |
static int64 | GetInt64Arg (const PXmlTok &XmlTok, const TStr &Nm) |
static double | GetFltArg (const PXmlTok &XmlTok, const TStr &Nm) |
Static Private Attributes | |
static TStrStrH | TypeNmToTagNmH |
|
static |
Definition at line 22 of file xml.cpp.
References EAssertR, TStr::Empty(), TPt< TRec >::Empty(), TXmlTok::GetStr(), TXmlTok::GetStrArgVal(), TXmlTok::GetSymStr(), TXmlTok::IsTag(), and TExcept::Throw().
Definition at line 59 of file xml.cpp.
References Fail, TXmlTok::IsArg(), TStr::IsBool(), and TExcept::Throw().
Referenced by TPt< TRec >::LoadXml(), and TBool::LoadXml().
Definition at line 104 of file xml.cpp.
References Fail, TXmlTok::IsArg(), TStr::IsFlt(), and TExcept::Throw().
Referenced by TFlt::LoadXml(), TSFlt::LoadXml(), TLFlt::LoadXml(), and TFltRect::LoadXml().
Definition at line 89 of file xml.cpp.
References Fail, TXmlTok::IsArg(), TStr::IsInt64(), and TExcept::Throw().
Referenced by TUInt64::LoadXml().
Definition at line 74 of file xml.cpp.
References Fail, TXmlTok::IsArg(), TStr::IsInt(), and TExcept::Throw().
Referenced by TRnd::LoadXml(), TCh::LoadXml(), TUCh::LoadXml(), TInt::LoadXml(), and TUInt::LoadXml().
Definition at line 5 of file xml.cpp.
References THash< TKey, TDat, THashFunc >::AddDat(), TStr::Empty(), TChA::LastCh(), TChA::Len(), TChA::Pop(), TChA::PutCh(), and TypeNmToTagNmH.
|
staticprivate |
Definition at line 7 of file xml.h.
Referenced by GetTagNm().