Classes |
class | TXmlObjSer |
class | TXmlObjSerTagNm |
class | TXmlLx |
class | TXmlParser |
Typedefs |
typedef TPt< TXmlParser > | PXmlParser |
Enumerations |
enum | TXmlLxSym {
xsyUndef,
xsyWs,
xsyComment,
xsyXmlDecl,
xsyPI,
xsyDocTypeDecl,
xsyElement,
xsyAttList,
xsyEntity,
xsyNotation,
xsyTag,
xsySTag,
xsyETag,
xsySETag,
xsyStr,
xsyQStr,
xsyEof
} |
enum | TXmlSpacing { xspIntact,
xspPreserve,
xspSeparate,
xspTruncate
} |
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) |
| TXmlChDef () |
| TXmlChDef (TSIn &SIn) |
static PXmlChDef | Load (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 |
| TXmlTok () |
| TXmlTok (const TXmlLxSym &_Sym) |
| TXmlTok (const TXmlLxSym &_Sym, const TStr &_Str) |
| TXmlTok (const TXmlLxSym &_Sym, const TStr &_Str, const TStrKdV &_ArgNmValV) |
static PXmlTok | New () |
static PXmlTok | New (const TXmlLxSym &Sym) |
static PXmlTok | New (const TXmlLxSym &Sym, const TStr &Str) |
static PXmlTok | New (const TXmlLxSym &Sym, const TStr &Str, const TStrKdV &ArgNmValV) |
static PXmlTok | New (const TStr &TagNm, const TStrKdV &ArgNmValV) |
static PXmlTok | New (const TStr &TagNm) |
static PXmlTok | New (const TStr &TagNm, const TStr &ValStr) |
static PXmlTok | New (const TStr &TagNm, const PXmlTok &XmlTok1, const PXmlTok &XmlTok2=NULL) |
| TXmlTok (TSIn &) |
TXmlTok & | operator= (const TXmlTok &) |
TXmlLxSym | GetSym () const |
TStr | GetSymStr () const |
void | PutStr (const TStr &_Str) |
TStr | GetStr () const |
bool | IsTag () const |
bool | IsTag (const TStr &TagNm) const |
TStr | GetTagNm () const |
void | AddArg (const TStr &ArgNm, const bool &ArgVal) |
void | AddArg (const TStr &ArgNm, const int &ArgVal) |
void | AddArg (const TStr &ArgNm, const uint64 &ArgVal) |
void | AddArg (const TStr &ArgNm, const double &ArgVal) |
void | AddArg (const TStr &ArgNm, const TStr &ArgVal) |
int | GetArgs () const |
void | GetArg (const int &ArgN, TStr &ArgNm, TStr &ArgVal) const |
bool | IsArg (const TStr &ArgNm) const |
bool | IsArg (const TStr &ArgNm, TStr &ArgVal) const |
void | PutArgVal (const TStr &ArgNm, const TStr &ArgVal) |
TStr | GetArgVal (const TStr &ArgNm) const |
TStr | GetArgVal (const TStr &ArgNm, const TStr &DfArgVal) const |
bool | GetBoolArgVal (const TStr &ArgNm, const bool &DfVal=false) const |
bool | GetBoolArgVal (const TStr &ArgNm, const TStr &TrueVal, const bool &DfVal=false) const |
bool | GetBoolArgVal (const TStr &ArgNm, const TStr &TrueVal, const TStr &FalseVal, const bool &DfVal=false) const |
int | GetIntArgVal (const TStr &ArgNm, const int &DfVal=0) const |
double | GetFltArgVal (const TStr &ArgNm, const double &DfVal=0) const |
TStr | GetStrArgVal (const TStr &ArgNm, const TStr &DfVal=TStr()) const |
bool | IsSubTag (const TStr &TagNm) const |
bool | IsSubTag (const TStr &TagNm, PXmlTok &Tok) const |
void | AddSubTok (const PXmlTok &Tok) |
int | GetSubToks () const |
PXmlTok | GetSubTok (const int &SubTokN) const |
void | ClrSubTok () |
void | PutSubTok (const PXmlTok &Tok, const int &SubTokN=-1) |
bool | IsTagTok (const TStr &TagPath, PXmlTok &TagTok) const |
bool | IsTagTok (const TStr &TagPath) const |
PXmlTok | GetTagTok (const TStr &TagPath) const |
void | GetTagTokV (const TStr &TagPath, TXmlTokV &XmlTokV) const |
void | GetTagValV (const TStr &TagNm, const bool &XmlP, TStrV &ValV) const |
TStr | GetTagVal (const TStr &TagNm, const bool &XmlP) const |
TStr | GetTagTokStr (const TStr &TagPath) const |
TStr | GetTagTokStrOrDf (const TStr &TagPath, const TStr &DfVal=TStr()) const |
void | AddTokToChA (const bool &XmlP, TChA &ChA) const |
TStr | GetTokStr (const bool &XmlP=true) const |
static TStr | GetTokVStr (const TXmlTokV &TokV, const bool &XmlP=true) |
static PXmlTok | GetTok (TXmlLx &Lx) |
static void | LoadTxtMiscStar (TXmlLx &Lx) |
static PXmlTok | LoadTxtElement (TXmlLx &Lx) |
| TXmlDoc () |
| TXmlDoc (const PXmlTok &_Tok) |
static PXmlDoc | New (const PXmlTok &Tok) |
| TXmlDoc (TSIn &) |
TXmlDoc & | operator= (const TXmlDoc &) |
bool | IsOk () const |
TStr | GetMsgStr () const |
PXmlTok | GetTok () const |
void | PutTagTokStr (const TStr &TagPath, const TStr &TokStr) const |
bool | GetTagTokBoolArgVal (const TStr &TagPath, const TStr &ArgNm, const bool &DfVal=false) const |
int | GetTagTokIntArgVal (const TStr &TagPath, const TStr &ArgNm, const int &DfVal=0) const |
double | GetTagTokFltArgVal (const TStr &TagPath, const TStr &ArgNm, const double &DfVal=0) const |
TStr | GetTagTokStrArgVal (const TStr &TagPath, const TStr &ArgNm, const TStr &DfVal=TStr()) const |
static TStr | GetXmlStr (const TStr &Str) |
static bool | SkipTopTag (const PSIn &SIn) |
static PXmlDoc | LoadTxt (TXmlLx &Lx) |
static PXmlDoc | LoadTxt (const PSIn &SIn, const TXmlSpacing &Spacing=xspIntact) |
static PXmlDoc | LoadTxt (const TStr &FNm, const TXmlSpacing &Spacing=xspIntact) |
static void | LoadTxt (const TStr &FNm, TXmlDocV &XmlDocV, const TXmlSpacing &Spacing=xspIntact) |
void | SaveTxt (const PSOut &SOut) |
void | SaveTxt (const TStr &FNm, const bool &Append=false) |
static PXmlDoc | LoadStr (const TStr &Str) |
void | SaveStr (TStr &Str) |
Variables |
ClassTP(TXmlChDef, PXmlChDef)
private TBSet | CharChSet |
ClassTP(TXmlChDef, PXmlChDef)
private TBSet | CombChSet |
ClassTP(TXmlChDef, PXmlChDef)
private TBSet | ExtChSet |
TBSet | LetterChSet |
TBSet | DigitChSet |
TBSet | NameChSet |
TBSet | PubidChSet |
TStrStrH | EntityNmToValH |
ClassTPV(TXmlTok, PXmlTok,
TXmlTokV) private TStr | Str |
TStrKdV | ArgNmValV |
TXmlTokV | SubTokV |
ClassTPV(TXmlDoc, PXmlDoc,
TXmlDocV) private TStr | MsgStr |
PXmlTok | Tok |