SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TILx Class Reference

List of all members.

Public Member Functions

 TILx (const PSIn &_SIn, const TFSet &OptSet=TFSet(), const TLxChDefTy &ChDefTy=lcdtUsAscii)
TILxoperator= (const TILx &)
void SetOpt (const int &Opt, const bool &Val)
TLxSym AddRw (const TStr &Str)
TLxSym GetRw (const TStr &Str)
PSIn GetSIn (const char &SepCh)
int GetLnN () const
bool IsBof () const
bool IsEof () const
TLxSym GetSym (const TFSet &Expect)
TLxSym GetSym ()
TLxSym GetSym (const TLxSym &Sym)
TLxSym GetSym (const TLxSym &Sym1, const TLxSym &Sym2)
TLxSym GetSym (const TLxSym &Sym1, const TLxSym &Sym2, const TLxSym &Sym3)
TLxSym GetSym (const TLxSym &Sym1, const TLxSym &Sym2, const TLxSym &Sym3, const TLxSym &Sym4)
bool GetBool ()
int GetInt ()
double GetFlt ()
TStr GetStr (const TStr &_Str=TStr())
TStr GetIdStr (const TStr &IdStr=TStr())
TStr GetQStr (const TStr &QStr=TStr())
void GetEoln ()
TStr GetStrToCh (const char &ToCh)
TStr GetStrToEolnOrCh (const char &ToCh)
TStr GetStrToEoln (const bool &DoTrunc=false)
TStr GetStrToEolnAndCh (const char &ToCh)
void SkipToEoln ()
void SkipToSym (const TLxSym &SkipToSym)
void PutSym (const TILxSymSt &SymSt)
void PutSym ()
TLxSym PeekSym ()
TLxSym PeekSym (const int &Syms)
TStr GetSymStr () const
TStr GetFPosStr () const
bool IsVar (const TStr &VarNm)
void GetVar (const TStr &VarNm, const bool &LBracket=false, const bool &NewLn=false)
void GetVarEnd (const bool &RBracket=false, const bool &NewLn=false)
bool PeekVarEnd (const bool &RBracket=false, const bool &NewLn=false)
bool GetVarBool (const TStr &VarNm, const bool &NewLn=true)
int GetVarInt (const TStr &VarNm, const bool &NewLn=true)
double GetVarFlt (const TStr &VarNm, const bool &NewLn=true)
TStr GetVarStr (const TStr &VarNm, const bool &NewLn=true)
TSecTm GetVarSecTm (const TStr &VarNm, const bool &NewLn=true)
void GetVarBoolV (const TStr &VarNm, TBoolV &BoolV, const bool &NewLn=true)
void GetVarIntV (const TStr &VarNm, TIntV &IntV, const bool &NewLn=true)
void GetVarFltV (const TStr &VarNm, TFltV &FltV, const bool &NewLn=true)
void GetVarStrV (const TStr &VarNm, TStrV &StrV, const bool &NewLn=true)
void GetVarStrPrV (const TStr &VarNm, TStrPrV &StrPrV, const bool &NewLn=true)
void GetVarStrVV (const TStr &VarNm, TVec< TStrV > &StrVV, const bool &NewLn=true)

Static Public Member Functions

static TStr GetQStr (const TStr &Str, const bool &QuoteP, const char &QuoteCh)
static void GetLnV (const TStr &FNm, TStrV &LnV)

Public Attributes

TLxSym Sym
TChA Str
TChA UcStr
TChA CmtStr
bool Bool
int Int
double Flt
int SymLnN
int SymLnChN
int SymChN
bool QuoteP
char QuoteCh

Constructor & Destructor Documentation

TILx::TILx ( const PSIn _SIn,
const TFSet OptSet = TFSet(),
const TLxChDefTy ChDefTy = lcdtUsAscii 
)

Member Function Documentation

TLxSym TILx::AddRw ( const TStr Str)
bool TILx::GetBool ( ) [inline]
void TILx::GetEoln ( ) [inline]
double TILx::GetFlt ( ) [inline]
TStr TILx::GetIdStr ( const TStr IdStr = TStr()) [inline]
int TILx::GetInt ( ) [inline]
int TILx::GetLnN ( ) const [inline]
void TILx::GetLnV ( const TStr FNm,
TStrV LnV 
) [static]
TStr TILx::GetQStr ( const TStr QStr = TStr()) [inline]
TStr TILx::GetQStr ( const TStr Str,
const bool &  QuoteP,
const char &  QuoteCh 
) [static]
TLxSym TILx::GetRw ( const TStr Str) [inline]
PSIn TILx::GetSIn ( const char &  SepCh)
TStr TILx::GetStr ( const TStr _Str = TStr()) [inline]
TStr TILx::GetStrToCh ( const char &  ToCh)
TStr TILx::GetStrToEoln ( const bool &  DoTrunc = false)
TStr TILx::GetStrToEolnAndCh ( const char &  ToCh)
TStr TILx::GetStrToEolnOrCh ( const char &  ToCh)
TLxSym TILx::GetSym ( const TFSet Expect)
TLxSym TILx::GetSym ( ) [inline]
TLxSym TILx::GetSym ( const TLxSym Sym) [inline]
TLxSym TILx::GetSym ( const TLxSym Sym1,
const TLxSym Sym2 
) [inline]
TLxSym TILx::GetSym ( const TLxSym Sym1,
const TLxSym Sym2,
const TLxSym Sym3 
) [inline]
TLxSym TILx::GetSym ( const TLxSym Sym1,
const TLxSym Sym2,
const TLxSym Sym3,
const TLxSym Sym4 
) [inline]
TStr TILx::GetSymStr ( ) const
void TILx::GetVar ( const TStr VarNm,
const bool &  LBracket = false,
const bool &  NewLn = false 
) [inline]
bool TILx::GetVarBool ( const TStr VarNm,
const bool &  NewLn = true 
) [inline]
void TILx::GetVarBoolV ( const TStr VarNm,
TBoolV BoolV,
const bool &  NewLn = true 
)
void TILx::GetVarEnd ( const bool &  RBracket = false,
const bool &  NewLn = false 
) [inline]
double TILx::GetVarFlt ( const TStr VarNm,
const bool &  NewLn = true 
) [inline]
void TILx::GetVarFltV ( const TStr VarNm,
TFltV FltV,
const bool &  NewLn = true 
)
int TILx::GetVarInt ( const TStr VarNm,
const bool &  NewLn = true 
) [inline]
void TILx::GetVarIntV ( const TStr VarNm,
TIntV IntV,
const bool &  NewLn = true 
)
TSecTm TILx::GetVarSecTm ( const TStr VarNm,
const bool &  NewLn = true 
) [inline]
TStr TILx::GetVarStr ( const TStr VarNm,
const bool &  NewLn = true 
) [inline]
void TILx::GetVarStrPrV ( const TStr VarNm,
TStrPrV StrPrV,
const bool &  NewLn = true 
)
void TILx::GetVarStrV ( const TStr VarNm,
TStrV StrV,
const bool &  NewLn = true 
)
void TILx::GetVarStrVV ( const TStr VarNm,
TVec< TStrV > &  StrVV,
const bool &  NewLn = true 
)
bool TILx::IsBof ( ) const [inline]
bool TILx::IsEof ( ) const [inline]
bool TILx::IsVar ( const TStr VarNm) [inline]
TILx& TILx::operator= ( const TILx ) [inline]
TLxSym TILx::PeekSym ( ) [inline]
TLxSym TILx::PeekSym ( const int &  Syms)
bool TILx::PeekVarEnd ( const bool &  RBracket = false,
const bool &  NewLn = false 
) [inline]
void TILx::PutSym ( const TILxSymSt SymSt) [inline]
void TILx::PutSym ( ) [inline]
void TILx::SetOpt ( const int &  Opt,
const bool &  Val 
)
void TILx::SkipToEoln ( )
void TILx::SkipToSym ( const TLxSym SkipToSym) [inline]

Member Data Documentation

bool TILx::Bool
double TILx::Flt
int TILx::Int

The documentation for this class was generated from the following files: