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>
Public Member Functions | |
TXmlChDef () | |
TXmlChDef (TSIn &SIn) | |
void | Save (TSOut &SOut) |
TXmlChDef & | operator= (const TXmlChDef &) |
bool | IsChar (const uchar &Ch) const |
bool | IsComb (const uchar &Ch) const |
bool | IsExt (const uchar &Ch) const |
bool | IsLetter (const uchar &Ch) const |
bool | IsDigit (const uchar &Ch) const |
bool | IsName (const uchar &Ch) const |
bool | IsPubid (const uchar &Ch) const |
bool | IsWs (const uchar &Ch) const |
bool | IsFirstNameCh (const uchar &Ch) const |
bool | IsEoln (const uchar &Ch) const |
bool | IsEntityNm (const TStr &EntityNm, TStr &EntityVal) const |
Static Public Member Functions | |
static PXmlChDef | Load (TSIn &SIn) |
Private Member Functions | |
void | SetChTy (TBSet &ChSet, const int &MnCh, const int &MxCh=-1) |
void | SetChTy (TBSet &ChSet, const TStr &Str) |
void | SetEntityVal (const TStr &Nm, const TStr &Val) |
Private Attributes | |
TCRef | CRef |
TInt | Chs |
TBSet | CharChSet |
TBSet | CombChSet |
TBSet | ExtChSet |
TBSet | LetterChSet |
TBSet | DigitChSet |
TBSet | NameChSet |
TBSet | PubidChSet |
TStrStrH | EntityNmToValH |
Friends | |
class | TPt< TXmlChDef > |
TXmlChDef::TXmlChDef | ( | ) |
Definition at line 208 of file xml.cpp.
References CharChSet, Chs, CombChSet, DigitChSet, ExtChSet, TBSet::Gen(), LetterChSet, TUCh::Mx, NameChSet, PubidChSet, SetChTy(), and SetEntityVal().
|
inline |
Definition at line 68 of file xml.h.
Referenced by TXmlLx::GetAttList(), TXmlLx::GetAttValue(), TXmlLx::GetCDSect(), TXmlLx::GetComment(), TXmlLx::GetElement(), TXmlLx::GetEntityValue(), TXmlLx::GetNotation(), TXmlLx::GetPI(), TXmlLx::GetSym(), and TXmlLx::GetSystemLiteral().
Definition at line 83 of file xml.h.
Referenced by TXmlLx::GetReference().
|
inline |
|
inline |
Definition at line 78 of file xml.h.
Referenced by TXmlLx::GetName().
|
inline |
Definition at line 73 of file xml.h.
Referenced by TXmlLx::GetName().
|
inline |
Definition at line 74 of file xml.h.
Referenced by TXmlLx::GetPubidLiteral().
|
inline |
Definition at line 76 of file xml.h.
References TCh::CrCh, TCh::LfCh, and TCh::TabCh.
Referenced by TXmlLx::GetDocTypeDecl(), TXmlLx::GetSym(), TXmlLx::GetWs(), TXmlLx::SkipWs(), and TXmlLx::ToNrSpacing().
|
private |
Definition at line 190 of file xml.cpp.
References Chs, IAssert, and TBSet::Incl().
Referenced by TXmlChDef().
Definition at line 197 of file xml.cpp.
References TBSet::Incl(), and TStr::Len().
Definition at line 204 of file xml.cpp.
References THash< TKey, TDat, THashFunc >::AddDat(), and EntityNmToValH.
Referenced by TXmlChDef().
|
private |
Definition at line 45 of file xml.h.
Referenced by TXmlChDef().
|
private |
Definition at line 44 of file xml.h.
Referenced by SetChTy(), and TXmlChDef().
|
private |
Definition at line 45 of file xml.h.
Referenced by TXmlChDef().
|
private |
Definition at line 46 of file xml.h.
Referenced by TXmlChDef().
|
private |
Definition at line 47 of file xml.h.
Referenced by SetEntityVal().
|
private |
Definition at line 45 of file xml.h.
Referenced by TXmlChDef().
|
private |
Definition at line 46 of file xml.h.
Referenced by TXmlChDef().
|
private |
Definition at line 46 of file xml.h.
Referenced by TXmlChDef().
|
private |
Definition at line 46 of file xml.h.
Referenced by TXmlChDef().