Enumerations |
| enum | TSsFmt {
ssfUndef,
ssfTabSep,
ssfCommaSep,
ssfSemicolonSep,
ssfVBar,
ssfSpaceSep,
ssfWhiteSep,
ssfMx
} |
Functions |
| | TSs () |
| static PSs | New () |
| | ~TSs () |
| | TSs (TSIn &SIn) |
| static PSs | Load (TSIn &SIn) |
| void | Save (TSOut &SOut) |
| TSs & | operator= (const TSs &Ss) |
| TStr & | At (const int &X, const int &Y) |
| void | PutVal (const int &X, const int &Y, const TStr &Str) |
| TStr | GetVal (const int &X, const int &Y) const |
| int | GetXLen () const |
| int | GetXLen (const int &Y) const |
| int | GetYLen () const |
| void | DelX (const int &X) |
| void | DelY (const int &Y) |
| int | SearchX (const int &Y, const TStr &Str) const |
| int | SearchY (const int &X, const TStr &Str) const |
| int | GetFlds () const |
| int | GetFldX (const TStr &FldNm, const TStr &NewFldNm="", const int &Y=0) const |
| int | GetFldY (const TStr &FldNm, const TStr &NewFldNm="", const int &X=0) const |
| TStr | GetFldNm (const int &FldX) const |
| static PSs | LoadTxt (const TSsFmt &SsFmt, const TStr &FNm, const PNotify &Notify=NULL, const bool &IsExcelEoln=true, const int &MxY=-1, const TIntV &AllowedColNV=TIntV(), const bool &IsQStr=true) |
| void | SaveTxt (const TStr &FNm, const PNotify &Notify=NULL) const |
| static void | LoadTxtFldV (const TSsFmt &SsFmt, const PSIn &SIn, char &Ch, TStrV &FldValV, const bool &IsExcelEoln=true, const bool &IsQStr=true) |
| static TSsFmt | GetSsFmtFromStr (const TStr &SsFmtNm) |
| static TStr | GetStrFromSsFmt (const TSsFmt &SsFmt) |
| static TStr | GetSsFmtNmVStr () |
| | UndefDefaultCopyAssign (TSsParser) |
| | TSsParser (const TStr &FNm, const TSsFmt _SsFmt=ssfTabSep, const bool &_SkipLeadBlanks=false, const bool &_SkipCmt=true, const bool &_SkipEmptyFld=false) |
| | TSsParser (const TStr &FNm, const char &Separator, const bool &_SkipLeadBlanks=false, const bool &_SkipCmt=true, const bool &_SkipEmptyFld=false) |
| | ~TSsParser () |
| static PSsParser | New (const TStr &FNm, const TSsFmt SsFmt) |
| bool | Next () |
| int | Len () const |
| uint64 | GetLineNo () const |
| bool | IsCmt () const |
| bool | Eof () const |
| const TChA & | GetLnStr () const |
| void | ToLc () |
| const char * | GetFld (const int &FldN) const |
| const char * | operator[] (const int &FldN) const |
| bool | GetInt (const int &FldN, int &Val) const |
| int | GetInt (const int &FldN) const |
| bool | IsInt (const int &FldN) const |
| bool | GetFlt (const int &FldN, double &Val) const |
| bool | IsFlt (const int &FldN) const |
| double | GetFlt (const int &FldN) const |
| const char * | DumpStr () const |
Variables |
ClassTP(TSsParser, PSsParser)
private bool | SkipLeadBlanks |
ClassTP(TSsParser, PSsParser)
private bool | SkipCmt |
ClassTP(TSsParser, PSsParser)
private bool | SkipEmptyFld |
| uint64 | LineCnt |
| char | SplitCh |
| TChA | LineStr |
| TVec< char * > | FldV |
| PSIn | FInPt |