28 Addr->LoadXml(XmlTok,
"-");
38 Addr->SaveXml(SOut,
"-");
50 PXmlTok XmlTok=XmlDoc->GetTok();
53 Ok=
false; MsgStr=XmlDoc->GetMsgStr();
57 Ok=
false; MsgStr=Except->GetMsgStr();
70 template <
class TVal1,
class TVal2>
74 template <
class TVal1,
class TVal2>
78 template <
class TVal1,
class TVal2,
class TVal3>
82 template <
class TVal1,
class TVal2,
class TVal3>
86 template <
class TVal1,
class TVal2,
class TVal3,
class TVal4>
90 template <
class TVal1,
class TVal2,
class TVal3,
class TVal4>
94 template <
class TKey,
class TDat>
98 template <
class TKey,
class TDat>
102 template <
class TVal,
class TSizeTy>
105 TSizeTy SubToks=XmlTok->
GetSubToks(); Gen(SubToks, 0);
106 for (TSizeTy SubTokN=0; SubTokN<SubToks; SubTokN++){
112 template <
class TVal,
class TSizeTy>
115 for (TSizeTy ValN=0; ValN<Vals; ValN++){ValT[ValN].SaveXml(SOut,
TStr());}
118 template <
class TKey,
class TDat>
122 template <
class TKey,
class TDat>
126 template<
class TKey,
class TDat,
class THashFunc>
129 for (
int KeyDatN=0; KeyDatN<KeyDatV.
Len(); KeyDatN++){
130 AddDat(KeyDatV[KeyDatN].Key, KeyDatV[KeyDatN].Dat);}}
132 template<
class TKey,
class TDat,
class THashFunc>
void SaveXml(TSOut &SOut, const TStr &Nm) const
#define XSaveBETagArg(Nm, ArgNm, ArgVal)
void SaveXml(TSOut &SOut, const TStr &Nm) const
void XLoadFromFile(const TStr &FNm, const TStr &Nm, TRec &Rec)
void LoadXml(const PXmlTok &XmlTok, const TStr &Nm="")
#define XSaveHdArg(Nm, ArgNm, ArgVal)
void SaveXml(TSOut &SOut, const TStr &Nm) const
TSizeTy Len() const
Returns the number of elements in the vector.
PXmlTok GetSubTok(const int &SubTokN) const
void Save(TSOut &SOut) const
void LoadXml(const PXmlTok &XmlTok, const TStr &Nm="")
void LoadXml(const PXmlTok &XmlTok, const TStr &Nm="")
static bool GetBoolArg(const PXmlTok &XmlTok, const TStr &Nm)
void SaveXml(TSOut &SOut, const TStr &Nm) const
void LoadXml(const PXmlTok &XmlTok, const TStr &Nm="")
static void Throw(const TStr &MsgStr)
void SaveXml(TSOut &SOut, const TStr &Nm) const
void LoadXml(const PXmlTok &XmlTok, const TStr &Nm="")
void LoadXml(const PXmlTok &XmlTok, const TStr &Nm="")
void SaveXml(TSOut &SOut, const TStr &Nm) const
void Save(TSOut &SOut) const
void SaveXml(TSOut &SOut, const TStr &Nm)
static PXmlDoc LoadTxt(TXmlLx &Lx)
static TStr GetStr(const bool &Val)
void LoadXml(const PXmlTok &XmlTok, const TStr &Nm="")
void LoadXml(const TPt< TXmlTok > &XmlTok, const TStr &Nm)
Vector is a sequence TVal objects representing an array that can change in size.
void SaveXml(TSOut &SOut, const TStr &Nm) const
bool IsXLoadFromFileOk(const TStr &FNm, const TStr &Nm, TRec &Rec, TStr &MsgStr)