SNAP Library 4.1, Developer Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <lx.h>
Public Member Functions | |
TPreproc (const TStr &InFNm, const TStr &OutFNm, const TStr &SubstFNm, const TStrV &_SubstKeyIdV) | |
Static Public Member Functions | |
static void | Execute (const TStr &InFNm, const TStr &OutFNm, const TStr &InSubstFNm, const TStrV &SubstKeyIdV) |
Private Member Functions | |
char | GetCh () |
bool | IsSubstId (const TStr &SubstId, TStr &SubstValStr) const |
UndefDefaultCopyAssign (TPreproc) | |
Private Attributes | |
PSIn | SIn |
TStrV | SubstKeyIdV |
char | PrevCh |
char | Ch |
THash< TStr, TStrPrV > | SubstIdToKeyIdValPrVH |
TPreproc::TPreproc | ( | const TStr & | InFNm, |
const TStr & | OutFNm, | ||
const TStr & | SubstFNm, | ||
const TStrV & | _SubstKeyIdV | ||
) |
Definition at line 857 of file lx.cpp.
References TVec< TVal, TSizeTy >::Add(), Ch, TStr::Empty(), TCh::EofCh, TXmlTok::GetArgVal(), GetCh(), TXmlTok::GetTagTokV(), TXmlTok::GetTokStr(), IAssert, TVec< TVal, TSizeTy >::IsIn(), IsSubstId(), TVec< TVal, TSizeTy >::Len(), TXmlDoc::LoadTxt(), TFIn::New(), TFOut::New(), PrevCh, TSOut::PutCh(), TSOut::PutStr(), SIn, SubstIdToKeyIdValPrVH, SubstKeyIdV, and TChA::Trunc().
|
private |
Definition at line 834 of file lx.cpp.
References Assert, Ch, TSIn::Eof(), TCh::EofCh, TSIn::GetCh(), PrevCh, and SIn.
Referenced by TPreproc().
Definition at line 842 of file lx.cpp.
References TVec< TVal, TSizeTy >::IsIn(), TVec< TVal, TSizeTy >::Len(), SubstIdToKeyIdValPrVH, and SubstKeyIdV.
Referenced by TPreproc().
|
private |
|
private |
Definition at line 364 of file lx.h.
Referenced by GetCh(), and TPreproc().
|
private |
Definition at line 364 of file lx.h.
Referenced by GetCh(), and TPreproc().
|
private |
Definition at line 362 of file lx.h.
Referenced by GetCh(), and TPreproc().
Definition at line 365 of file lx.h.
Referenced by IsSubstId(), and TPreproc().
|
private |
Definition at line 363 of file lx.h.
Referenced by IsSubstId(), and TPreproc().