1090 TXmlTokV ObjTokV; Doc->GetTagTokV(
"ExpHelp|Obj", ObjTokV);
1091 for (
int ObjTokN=0; ObjTokN<ObjTokV.
Len(); ObjTokN++){
1092 PXmlTok ObjTok=ObjTokV[ObjTokN];
1094 TStr TypeStr=ObjTok->GetTagTok(
"Type")->GetTokStr(
false);
1096 TStr CatNm=ObjTok->GetTagTok(
"Cat")->GetTokStr(
false);
1098 TStr HdNm=ObjTok->GetTagTok(
"Head|Name")->GetTokStr(
false);
1099 TStr HdTypeStr=ObjTok->GetTagTok(
"Head|Type")->GetTokStr(
false);
1100 TStr HdDescStr=ObjTok->GetTagTok(
"Head|Desc")->GetTokStr(
false);
1104 TXmlTokV ArgTokV; ObjTok->GetTagTokV(
"Args|Arg", ArgTokV);
1106 for (
int ArgTokN=0; ArgTokN<ArgTokV.
Len(); ArgTokN++){
1107 PXmlTok ArgTok=ArgTokV[ArgTokN];
1109 TStr ArgNm=ArgTok->GetTagTok(
"Name")->GetTokStr(
false);
1110 TStr ArgTypeStr=ArgTok->GetTagTok(
"Type")->GetTokStr(
false);
1111 TStr ArgDescStr=ArgTok->GetTagTok(
"Desc")->GetTokStr(
false);
1112 TStr ArgDfValStr=ArgTok->GetTagTok(
"Default")->GetTokStr(
false);
1115 ArgItemV.
Add(ArgItem);
1120 ExpHelp->AddObj(Obj);
TSizeTy Len() const
Returns the number of elements in the vector.
static PExpHelpObj New(const TExpHelpObjType &Type, const TStr &CatNm, const PExpHelpItem &HdItem, const TExpHelpItemV &ArgItemV=TExpHelpItemV())
static TExpHelpObjType GetObjTypeFromStr(const TStr &TypeStr)
static PXmlDoc LoadTxt(TXmlLx &Lx)
static PExpHelpItem New(const TStr &Nm, const TStr &TypeStr, const TStr &DescStr, const TStr &DfValStr)
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.