|
| | TPp () |
| |
| | TPp (const TPp &Pp) |
| |
| | TPp (const TStr &_IdNm, const TStr &_DescNm, const TPpTagVal &_Tag=ptUndef, const TPpTagVal &_ValVTag=ptUndef) |
| |
| | TPp (TSIn &SIn) |
| |
| void | Save (TSOut &SOut) |
| |
| TPp & | operator= (const TPp &Pp) |
| |
| TStr | GetIdNm () const |
| |
| TStr | GetUcIdNm () const |
| |
| TStr | GetDescNm () const |
| |
| int | GetTag () const |
| |
| int | GetValVTag () const |
| |
| void | PutVal (const TPpVal &_Val) |
| |
| TPpVal | GetVal () const |
| |
| void | PutDfVal (const TPpVal &_DfVal) |
| |
| TPpVal | GetDfVal () const |
| |
| void | PutMnMxVal (const TPpVal &_MnVal, const TPpVal &_MxVal) |
| |
| TPpVal | GetMnVal () const |
| |
| TPpVal | GetMxVal () const |
| |
| void | AddCcVal (const TPpVal &_Val) |
| |
| void | PutCcValV (const TPpValV &CcValV) |
| |
| int | GetCcVals () const |
| |
| TPpVal | GetCcVal (const int &CcValN) const |
| |
| bool | IsPp (const TStr &IdNm) const |
| |
| bool | IsPp (const TStr &IdNm, PPp &Pp) const |
| |
| int | GetPps () const |
| |
| int | AddPp (const PPp &Pp) |
| |
| void | AddPpV (const TPpV &PpV) |
| |
| PPp | GetPp (const int &PpN) const |
| |
| PPp | GetPp (const TStr &IdPath) const |
| |
| PPp | GetSelPp () const |
| |
| int | AddPpInt (const TStr &IdNm, const TStr &DescNm=TStr()) |
| |
| int | AddPpInt (const TStr &IdNm, const TStr &DescNm, const int &MnVal, const int &MxVal, const int &DfVal) |
| |
| int | AddPpFlt (const TStr &IdNm, const TStr &DescNm=TStr()) |
| |
| int | AddPpFlt (const TStr &IdNm, const TStr &DescNm, const double &MnVal, const double &MxVal, const double &DfVal) |
| |
| int | AddPpStr (const TStr &IdNm, const TStr &DescNm=TStr(), const TStr &DfVal=TStr()) |
| |
| void | PutValBool (const bool &Val) |
| |
| TBool | GetValBool () const |
| |
| void | PutValBool (const TStr &IdPath, const bool &Val) |
| |
| TBool | GetValBool (const TStr &IdPath) const |
| |
| void | PutValInt (const int &Val) |
| |
| TInt | GetValInt () const |
| |
| void | PutValInt (const TStr &IdPath, const int &Val) |
| |
| TInt | GetValInt (const TStr &IdPath) const |
| |
| void | PutValFlt (const double &Val) |
| |
| TFlt | GetValFlt () const |
| |
| void | PutValFlt (const TStr &IdPath, const double &Val) |
| |
| TFlt | GetValFlt (const TStr &IdPath) const |
| |
| void | PutValStr (const TStr &Val) |
| |
| TStr | GetValStr () const |
| |
| void | PutValStr (const TStr &IdPath, const TStr &Val) |
| |
| TStr | GetValStr (const TStr &IdPath) const |
| |
| void | PutValValV (const TPpValV &Val) |
| |
| TPpValV | GetValValV () const |
| |
| void | PutValValV (const TStr &IdPath, const TPpValV &Val) |
| |
| TPpValV | GetValValV (const TStr &IdPath) const |
| |
| TStr | GetStr (const bool &Brief=true) const |
| |
| void | SaveTxt (const PSOut &SOut) const |
| |
| void | SaveTxt (TOLx &Lx, const int &Lev=0) const |
| |
Definition at line 70 of file pp.h.
Definition at line 173 of file pp.cpp.
References TVec< TVal, TSizeTy >::Add(), CcValV, DescNm, DfVal, TILx::GetIdStr(), TILx::GetQStr(), TILx::GetSym(), TILx::GetVar(), IdNm, TILx::IsVar(), TPpTag::LoadTxt(), TPpVal::LoadTxt(), LoadTxt(), MnVal, MxVal, TILx::PeekSym(), PpNm, PpV, ptSel, ptSet, ptUndef, ptValV, syColon, syEq, syGtr, syLBrace, syLBracket, syLss, syRBrace, syRBracket, Tag, TPp(), Val, and ValVTag.
210 PPp Pp=
PPp(
new TPp(IdNm, DescNm, Tag, ValVTag));
212 Pp->PutCcValV(CcValV);
213 if (IsMnMxValDef){Pp->PutMnMxVal(MnVal, MxVal);}
static PPp LoadTxt(const PSIn &SIn)
void GetVar(const TStr &VarNm, const bool &LBracket=false, const bool &NewLn=false)
bool IsVar(const TStr &VarNm)
static TPpVal LoadTxt(TILx &Lx)
TStr GetQStr(const TStr &QStr=TStr())
TStr GetIdStr(const TStr &IdStr=TStr())
TLxSym GetSym(const TFSet &Expect)
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
static TPpTagVal LoadTxt(TILx &Lx)
| void TPp::PutVal |
( |
const TPpVal & |
_Val | ) |
|
Definition at line 130 of file pp.cpp.
References CcValV, Fail, TPpVal::GetInt(), TPpVal::GetStr(), TPpVal::GetTag(), IAssert, IsPp(), TVec< TVal, TSizeTy >::Len(), MnVal, MxVal, PpV, ptBool, ptFlt, ptInt, ptSel, ptSet, ptStr, ptUndef, ptValV, TVec< TVal, TSizeTy >::SearchForw(), Tag, and Val.
Referenced by PutDfVal(), PutValBool(), PutValFlt(), PutValInt(), PutValStr(), and PutValValV().
TSizeTy Len() const
Returns the number of elements in the vector.
TSizeTy SearchForw(const TVal &Val, const TSizeTy &BValN=0) const
Returns the position of an element with value Val.
bool IsPp(const TStr &IdNm) const
| void TPp::SaveTxt |
( |
TOLx & |
Lx, |
|
|
const int & |
Lev = 0 |
|
) |
| const |
Definition at line 220 of file pp.cpp.
References CcValV, DescNm, DfVal, TStr::Empty(), TPpVal::GetTag(), IdNm, TVec< TVal, TSizeTy >::Len(), MnVal, MxVal, PpNm, PpV, ptSel, ptSet, ptUndef, ptValV, TOLx::PutIdStr(), TOLx::PutQStr(), TOLx::PutSym(), TOLx::PutVar(), TPpTag::SaveTxt(), TPpVal::SaveTxt(), syColon, syEq, syGtr, syLBrace, syLBracket, syLss, syRBrace, syRBracket, Tag, Val, and ValVTag.
240 for (
int CcValN=0; CcValN<
CcValV.
Len(); CcValN++){
241 CcValV[CcValN].SaveTxt(Lx);}
245 for (
int PpN=0; PpN<
PpV.
Len(); PpN++){
void PutVar(const TStr &VarNm, const bool &LBracket=false, const bool &NewLn=false, const bool &CheckIdStr=true)
TSizeTy Len() const
Returns the number of elements in the vector.
void SaveTxt(TOLx &Lx) const
void PutSym(const TLxSym &Sym)
void PutQStr(const TStr &Str)
static void SaveTxt(TOLx &Lx, const TInt &Tag)
void PutIdStr(const TStr &Str, const bool &CheckIdStr=true)