SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <lx.h>
Public Member Functions | |
TLxChDef (const TLxChDefTy &ChDefTy) | |
TLxChDef (TSIn &SIn) | |
void | Save (TSOut &SOut) |
TLxChDef & | operator= (const TLxChDef &ChDef) |
int | GetChTy (const char &Ch) const |
bool | IsTerm (const char &Ch) const |
bool | IsSpace (const char &Ch) const |
bool | IsAlpha (const char &Ch) const |
bool | IsNum (const char &Ch) const |
bool | IsAlNum (const char &Ch) const |
char | GetUc (const char &Ch) const |
bool | IsNmStr (const TStr &Str) const |
TStr | GetUcStr (const TStr &Str) const |
Static Public Member Functions | |
static PLxChDef | New (const TLxChDefTy &ChDefTy=lcdtUsAscii) |
static PLxChDef | Load (TSIn &SIn) |
static PLxChDef | GetChDef (const TLxChDefTy &ChDefTy=lcdtUsAscii) |
Private Member Functions | |
void | SetUcCh (const TStr &Str) |
void | SetChTy (const TLxChTy &ChTy, const TStr &Str) |
Private Attributes | |
TCRef | CRef |
TIntV | ChTyV |
TChV | UcChV |
Friends | |
class | TPt< TLxChDef > |
TLxChDef::TLxChDef | ( | const TLxChDefTy & | ChDefTy | ) |
Definition at line 13 of file lx.cpp.
References ChTyV, TCh::CrCh, TCh::EofCh, Fail, lcdtUsAscii, lcdtYuAscii, lctAlpha, lctNum, lctSpace, lctSSym, lctTerm, TCh::LfCh, TCh::Mn, TCh::Mx, TVec< TVal, TSizeTy >::PutAll(), SetChTy(), SetUcCh(), and UcChV.
|
static |
Definition at line 79 of file lx.cpp.
References TPt< TRec >::Empty(), Fail, lcdtUsAscii, lcdtYuAscii, and New().
|
inline |
|
inline |
Definition at line 32 of file lx.h.
References TCh::Mn.
Referenced by TILx::GetStrToCh(), TILx::GetStrToEoln(), TILx::GetStrToEolnAndCh(), TILx::GetStrToEolnOrCh(), TILx::GetSym(), and GetUcStr().
Definition at line 71 of file lx.cpp.
References TChA::AddCh(), TStr::GetCh(), GetUc(), and TStr::Len().
Referenced by TILx::AddRw(), and TOLx::AddRw().
|
inline |
|
inline |
bool TLxChDef::IsNmStr | ( | const TStr & | Str | ) | const |
Definition at line 63 of file lx.cpp.
References TStr::GetCh(), IsAlNum(), IsAlpha(), and TStr::Len().
Referenced by TOLx::PutIdStr(), and TOLx::PutStr().
|
inline |
Definition at line 29 of file lx.h.
References lctNum, and TCh::Mn.
Referenced by TILx::GetSym().
|
inline |
Definition at line 27 of file lx.h.
References lctSpace, and TCh::Mn.
Referenced by TILx::GetSym().
|
inline |
Definition at line 26 of file lx.h.
References lctTerm, and TCh::Mn.
Referenced by TILx::GetSym().
|
inlinestatic |
Definition at line 16 of file lx.h.
Referenced by GetChDef().
Definition at line 8 of file lx.cpp.
References ChTyV, TStr::Len(), and TCh::Mn.
Referenced by TLxChDef().
|
private |
Definition at line 3 of file lx.cpp.
References TStr::Len(), TCh::Mn, and UcChV.
Referenced by TLxChDef().
|
private |
Definition at line 10 of file lx.h.
Referenced by operator=(), SetChTy(), and TLxChDef().
|
private |
Definition at line 11 of file lx.h.
Referenced by operator=(), SetUcCh(), and TLxChDef().