|
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 | |
| TOLx (const PSOut &_SOut, const TFSet &OptSet, const TLxChDefTy &ChDefTy=lcdtUsAscii) | |
| TOLx & | operator= (const TOLx &) |
| void | SetOpt (const int &Opt, const bool &Val) |
| TLxSym | AddRw (const TStr &Str) |
| PSOut | GetSOut (const char &SepCh) |
| void | PutSym (const TLxSym &Sym) |
| void | PutBool (const TBool &Bool) |
| void | PutInt (const TInt &Int) |
| void | PutFlt (const TFlt &Flt, const int &Width=-1, const int &Prec=-1) |
| void | PutStr (const TStr &Str) |
| void | PutIdStr (const TStr &Str, const bool &CheckIdStr=true) |
| void | PutQStr (const TStr &Str) |
| void | PutQStr (const TChA &ChA) |
| void | PutUQStr (const TStr &Str) |
| void | PutLnCmt (const TStr &Str, const int &IndentLev=0) |
| void | PutParCmt (const TStr &Str) |
| void | PutIndent (const int &IndentLev) |
| void | PutTab () const |
| void | PutLn (const int &IndentLev=0) |
| void | PutDosLn (const int &IndentLev=0) |
| void | PutVar (const TStr &VarNm, const bool &LBracket=false, const bool &NewLn=false, const bool &CheckIdStr=true) |
| void | PutVarEnd (const bool &RBracket=false, const bool &NewLn=false) |
| void | PutVarBool (const TStr &VarNm, const bool &Bool, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarInt (const TStr &VarNm, const int &Int, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarFlt (const TStr &VarNm, const double &Flt, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarStr (const TStr &VarNm, const TStr &Str, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarSecTm (const TStr &VarNm, const TSecTm &SecTm, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarBoolV (const TStr &VarNm, const TBoolV &BoolV, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarIntV (const TStr &VarNm, const TIntV &IntV, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarFltV (const TStr &VarNm, const TFltV &FltV, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarStrV (const TStr &VarNm, const TStrV &StrV, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarStrPrV (const TStr &VarNm, const TStrPrV &StrPrV, const bool &NewLn=true, const bool &CheckIdStr=true) |
| void | PutVarStrVV (const TStr &VarNm, const TVec< TStrV > &StrVV, const bool &NewLn=true, const bool &CheckIdStr=true) |
Private Member Functions | |
| void | PutSep (const TLxSym &Sym) |
Private Attributes | |
| PLxChDef | ChDef |
| PSOut | SOut |
| TSOut & | RSOut |
| bool | IsCmtAlw |
| bool | IsFrcEoln |
| bool | IsSigNum |
| bool | IsUniStr |
| bool | IsCsSens |
| bool | IsTabSep |
| bool | IsVarIndent |
| int | VarIndentLev |
| TStrIntH | RwStrH |
| TIntStrH | RwSymH |
| TLxSym | PrevSym |
| TOLx::TOLx | ( | const PSOut & | _SOut, |
| const TFSet & | OptSet, | ||
| const TLxChDefTy & | ChDefTy = lcdtUsAscii |
||
| ) |
Definition at line 741 of file lx.cpp.
References THash< TKey, TDat, THashFunc >::AddDat(), ChDef, TLxChDef::GetUcStr(), IAssert, THash< TKey, TDat, THashFunc >::IsKey(), THash< TKey, TDat, THashFunc >::Len(), RwStrH, RwSymH, syMnRw, and syMxRw.

|
inline |
Definition at line 271 of file lx.h.
References TSOut::PutCh(), RSOut, and SOut.

|
inline |
Definition at line 275 of file lx.h.
References TBool::GetStr(), PutSep(), TSOut::PutStr(), RSOut, and syIdStr.
Referenced by PutVarBool(), and PutVarBoolV().


|
inline |
Definition at line 305 of file lx.h.
References Assert, IsFrcEoln, TSOut::PutCh(), TSOut::PutDosLn(), PutSep(), RSOut, and syEoln.

|
inline |
Definition at line 280 of file lx.h.
References Assert, TFlt::GetStr(), IsSigNum, PutSep(), TSOut::PutStr(), RSOut, and syFlt.
Referenced by PutVarFlt(), and PutVarFltV().


|
inline |
Definition at line 286 of file lx.h.
References Assert, ChDef, TLxChDef::IsNmStr(), PutSep(), TSOut::PutStr(), RSOut, and syIdStr.
Referenced by PutVar(), PutVarBool(), PutVarFlt(), PutVarInt(), PutVarSecTm(), and PutVarStr().


|
inline |
Definition at line 299 of file lx.h.
References TSOut::PutCh(), and RSOut.
Referenced by PutVar(), PutVarBool(), PutVarBoolV(), PutVarEnd(), PutVarFlt(), PutVarFltV(), PutVarInt(), PutVarIntV(), PutVarSecTm(), PutVarStr(), PutVarStrPrV(), PutVarStrV(), and PutVarStrVV().


|
inline |
Definition at line 277 of file lx.h.
References Assert, TInt::GetStr(), IsSigNum, PutSep(), TSOut::PutStr(), RSOut, and syInt.
Referenced by PutVarInt(), PutVarIntV(), TRnd::SaveTxt(), and TSecTm::SaveTxt().


|
inline |
Definition at line 302 of file lx.h.
References Assert, IsFrcEoln, TSOut::PutCh(), TSOut::PutLn(), PutSep(), RSOut, and syEoln.
Referenced by PutLnCmt(), PutVar(), PutVarBool(), PutVarBoolV(), PutVarEnd(), PutVarFlt(), PutVarFltV(), PutVarInt(), PutVarIntV(), PutVarSecTm(), PutVarStr(), PutVarStrPrV(), PutVarStrV(), and PutVarStrVV().


|
inline |
|
inline |
|
inline |
Definition at line 289 of file lx.h.
References TSOut::PutCh(), PutSep(), TSOut::PutStr(), RSOut, and syQStr.
Referenced by PutVarStr(), PutVarStrPrV(), PutVarStrV(), and PutVarStrVV().


|
inline |
Definition at line 291 of file lx.h.
References TSOut::PutCh(), PutSep(), TSOut::PutStr(), RSOut, and syQStr.

|
private |
Definition at line 712 of file lx.cpp.
References TLxSymStr::IsSep(), IsTabSep, PrevSym, TSOut::PutCh(), RSOut, and TCh::TabCh.
Referenced by PutBool(), PutDosLn(), PutFlt(), PutIdStr(), PutInt(), PutLn(), PutQStr(), PutStr(), PutSym(), and PutUQStr().


|
inline |
Definition at line 283 of file lx.h.
References ChDef, TLxChDef::IsNmStr(), IsUniStr, TSOut::PutCh(), PutSep(), TSOut::PutStr(), RSOut, syIdStr, and syStr.
Referenced by PutLnCmt(), and PutParCmt().


| void TOLx::PutSym | ( | const TLxSym & | Sym | ) |
Definition at line 751 of file lx.cpp.
References TLxSymStr::GetSymStr(), PutSep(), TSOut::PutStr(), RSOut, RwSymH, syMnRw, and syMxRw.
Referenced by PutVar(), PutVarBool(), PutVarEnd(), PutVarFlt(), PutVarInt(), PutVarSecTm(), PutVarStr(), PutVarStrPrV(), and PutVarStrVV().


|
inline |
Definition at line 301 of file lx.h.
References TSOut::PutCh(), RSOut, and TCh::TabCh.

|
inline |
|
inline |
Definition at line 309 of file lx.h.
References IsVarIndent, PutIdStr(), PutIndent(), PutLn(), PutSym(), syColon, syLBracket, and VarIndentLev.
Referenced by PutVarBoolV(), PutVarFltV(), PutVarIntV(), PutVarStrPrV(), PutVarStrV(), and PutVarStrVV().


|
inline |
Definition at line 319 of file lx.h.
References IsVarIndent, PutBool(), PutIdStr(), PutIndent(), PutLn(), PutSym(), syColon, and VarIndentLev.

| void TOLx::PutVarBoolV | ( | const TStr & | VarNm, |
| const TBoolV & | BoolV, | ||
| const bool & | NewLn = true, |
||
| const bool & | CheckIdStr = true |
||
| ) |
Definition at line 761 of file lx.cpp.
References IsVarIndent, TVec< TVal, TSizeTy >::Len(), PutBool(), PutIndent(), PutLn(), PutVar(), PutVarEnd(), and VarIndentLev.

|
inline |
Definition at line 315 of file lx.h.
References IsVarIndent, PutIndent(), PutLn(), PutSym(), syRBracket, and VarIndentLev.
Referenced by PutVarBoolV(), PutVarFltV(), PutVarIntV(), PutVarStrPrV(), PutVarStrV(), and PutVarStrVV().


|
inline |
Definition at line 329 of file lx.h.
References IsVarIndent, PutFlt(), PutIdStr(), PutIndent(), PutLn(), PutSym(), syColon, and VarIndentLev.

| void TOLx::PutVarFltV | ( | const TStr & | VarNm, |
| const TFltV & | FltV, | ||
| const bool & | NewLn = true, |
||
| const bool & | CheckIdStr = true |
||
| ) |
Definition at line 783 of file lx.cpp.
References IsVarIndent, TVec< TVal, TSizeTy >::Len(), PutFlt(), PutIndent(), PutLn(), PutVar(), PutVarEnd(), and VarIndentLev.

|
inline |
Definition at line 324 of file lx.h.
References IsVarIndent, PutIdStr(), PutIndent(), PutInt(), PutLn(), PutSym(), syColon, and VarIndentLev.
Referenced by TMBlobBs::SaveMain().


| void TOLx::PutVarIntV | ( | const TStr & | VarNm, |
| const TIntV & | IntV, | ||
| const bool & | NewLn = true, |
||
| const bool & | CheckIdStr = true |
||
| ) |
Definition at line 772 of file lx.cpp.
References IsVarIndent, TVec< TVal, TSizeTy >::Len(), PutIndent(), PutInt(), PutLn(), PutVar(), PutVarEnd(), and VarIndentLev.

|
inline |
Definition at line 339 of file lx.h.
References IsVarIndent, PutIdStr(), PutIndent(), PutLn(), PutSym(), TSecTm::SaveTxt(), syColon, and VarIndentLev.

|
inline |
Definition at line 334 of file lx.h.
References IsVarIndent, PutIdStr(), PutIndent(), PutLn(), PutQStr(), PutSym(), syColon, and VarIndentLev.
Referenced by TMBlobBs::SaveMain().


| void TOLx::PutVarStrPrV | ( | const TStr & | VarNm, |
| const TStrPrV & | StrPrV, | ||
| const bool & | NewLn = true, |
||
| const bool & | CheckIdStr = true |
||
| ) |
Definition at line 805 of file lx.cpp.
References IsVarIndent, TVec< TVal, TSizeTy >::Len(), PutIndent(), PutLn(), PutQStr(), PutSym(), PutVar(), PutVarEnd(), syLBracket, syRBracket, and VarIndentLev.

| void TOLx::PutVarStrV | ( | const TStr & | VarNm, |
| const TStrV & | StrV, | ||
| const bool & | NewLn = true, |
||
| const bool & | CheckIdStr = true |
||
| ) |
Definition at line 794 of file lx.cpp.
References IsVarIndent, TVec< TVal, TSizeTy >::Len(), PutIndent(), PutLn(), PutQStr(), PutVar(), PutVarEnd(), and VarIndentLev.

| void TOLx::PutVarStrVV | ( | const TStr & | VarNm, |
| const TVec< TStrV > & | StrVV, | ||
| const bool & | NewLn = true, |
||
| const bool & | CheckIdStr = true |
||
| ) |
Definition at line 818 of file lx.cpp.
References IsVarIndent, TVec< TVal, TSizeTy >::Len(), PutIndent(), PutLn(), PutQStr(), PutSym(), PutVar(), PutVarEnd(), syLBracket, syRBracket, and VarIndentLev.

| void TOLx::SetOpt | ( | const int & | Opt, |
| const bool & | Val | ||
| ) |
Definition at line 728 of file lx.cpp.
References Fail, IsCmtAlw, IsCsSens, IsFrcEoln, IsSigNum, IsTabSep, IsUniStr, IsVarIndent, oloCmtAlw, oloCsSens, oloFrcEoln, oloSigNum, oloTabSep, oloUniStr, and oloVarIndent.
Referenced by TOLx().

|
private |
Definition at line 253 of file lx.h.
Referenced by AddRw(), PutIdStr(), and PutStr().
|
private |
Definition at line 256 of file lx.h.
Referenced by PutLnCmt(), PutParCmt(), and SetOpt().
|
private |
Definition at line 256 of file lx.h.
Referenced by PutDosLn(), PutLn(), and SetOpt().
|
private |
|
private |
|
private |
|
private |
Definition at line 257 of file lx.h.
Referenced by PutVar(), PutVarBool(), PutVarBoolV(), PutVarEnd(), PutVarFlt(), PutVarFltV(), PutVarInt(), PutVarIntV(), PutVarSecTm(), PutVarStr(), PutVarStrPrV(), PutVarStrV(), PutVarStrVV(), and SetOpt().
|
private |
Definition at line 255 of file lx.h.
Referenced by GetSOut(), PutBool(), PutDosLn(), PutFlt(), PutIdStr(), PutIndent(), PutInt(), PutLn(), PutQStr(), PutSep(), PutStr(), PutSym(), PutTab(), and PutUQStr().
|
private |
|
private |
Definition at line 258 of file lx.h.
Referenced by PutVar(), PutVarBool(), PutVarBoolV(), PutVarEnd(), PutVarFlt(), PutVarFltV(), PutVarInt(), PutVarIntV(), PutVarSecTm(), PutVarStr(), PutVarStrPrV(), PutVarStrV(), and PutVarStrVV().