SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <html.h>
Public Member Functions | |
THtmlLxChDef () | |
THtmlLxChDef (TSIn &SIn) | |
void | Save (TSOut &SOut) |
THtmlLxChDef & | operator= (const THtmlLxChDef &) |
int | GetChTy (const char &Ch) const |
bool | IsEoln (const char &Ch) const |
bool | IsWs (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 |
bool | IsSym (const char &Ch) const |
bool | IsUrl (const char &Ch) const |
bool | IsUc (const char &Ch) const |
bool | IsLc (const char &Ch) const |
char | GetUc (const char &Ch) const |
char | GetLc (const char &Ch) const |
void | GetUcChA (TChA &ChA) const |
void | GetLcChA (TChA &ChA) const |
TStr | GetUcStr (const TStr &Str) const |
TStr | GetLcStr (const TStr &Str) const |
TStr | GetEscStr (const TStr &Str) const |
Static Public Member Functions | |
static PHtmlLxChDef | Load (TSIn &SIn) |
static PHtmlLxChDef | GetChDef () |
static THtmlLxChDef & | GetChDefRef () |
static TStr | GetCSZFromYuascii (const TChA &ChA) |
static TStr | GetCSZFromWin1250 (const TChA &ChA) |
static TStr | GetWin1250FromYuascii (const TChA &ChA) |
static TStr | GetIsoCeFromYuascii (const TChA &ChA) |
Static Public Attributes | |
static PHtmlLxChDef | ChDef =PHtmlLxChDef(new THtmlLxChDef()) |
Private Member Functions | |
void | SetUcCh (const char &UcCh, const char &LcCh) |
void | SetUcCh (const TStr &Str) |
void | SetChTy (const THtmlLxChTy &ChTy, const TStr &Str) |
void | SetEscStr (const TStr &SrcStr, const TStr &DstStr) |
Private Attributes | |
TCRef | CRef |
TIntV | ChTyV |
TChV | UcChV |
TChV | LcChV |
TStrStrH | EscStrH |
Friends | |
class | TPt< THtmlLxChDef > |
THtmlLxChDef::THtmlLxChDef | ( | ) |
Definition at line 48 of file html.cpp.
References ChTyV, TCh::EofCh, hlctAlpha, hlctEof, hlctLTag, hlctNum, hlctRTag, hlctSpace, hlctSym, TCh::Mn, TCh::Mx, TVec< TVal, TSizeTy >::PutAll(), SetChTy(), SetEscStr(), and SetUcCh().
|
inlinestatic |
Definition at line 66 of file html.h.
References TPt< TRec >::Empty(), and IAssert.
|
inlinestatic |
Definition at line 67 of file html.h.
References TPt< TRec >::Empty(), and IAssert.
|
inline |
Definition at line 34 of file html.h.
References TCh::Mn.
Referenced by THtmlLx::GetSym().
Definition at line 132 of file html.cpp.
References TChA::Len().
Definition at line 111 of file html.cpp.
References TChA::Len().
Definition at line 33 of file html.cpp.
References EscStrH, THash< TKey, TDat, THashFunc >::GetKeyId(), and TStr::Len().
Referenced by THtmlLx::GetEscCh().
Definition at line 170 of file html.cpp.
References TChA::Len().
|
inline |
|
inline |
Definition at line 56 of file html.h.
References TChA::Len(), and TChA::PutCh().
|
inline |
Definition at line 52 of file html.h.
References TCh::Mn.
Referenced by THtmlLx::GetSym(), and THtmlLx::GetTag().
|
inline |
Definition at line 54 of file html.h.
References TChA::Len(), and TChA::PutCh().
Definition at line 149 of file html.cpp.
References TChA::Len().
|
inline |
Definition at line 41 of file html.h.
References hlctAlpha, hlctNum, and TCh::Mn.
Referenced by THtmlLx::GetSym(), and THtmlLx::GetTag().
|
inline |
Definition at line 39 of file html.h.
References hlctAlpha, and TCh::Mn.
Referenced by THtmlLx::GetSym(), and THtmlLx::GetTag().
|
inline |
Definition at line 35 of file html.h.
References TCh::CrCh, and TCh::LfCh.
Referenced by THtmlLx::GetTag().
|
inline |
|
inline |
Definition at line 40 of file html.h.
References hlctNum, and TCh::Mn.
Referenced by THtmlLx::GetSym().
|
inline |
Definition at line 38 of file html.h.
References hlctSpace, and TCh::Mn.
Referenced by THtmlLx::GetSym().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 36 of file html.h.
References TCh::CrCh, TCh::LfCh, and TCh::TabCh.
Referenced by THtmlLx::GetTag().
|
inlinestatic |
|
inline |
|
private |
Definition at line 24 of file html.cpp.
References ChTyV, TStr::Len(), and TCh::Mn.
Referenced by SetUcCh(), and THtmlLxChDef().
Definition at line 29 of file html.cpp.
References THash< TKey, TDat, THashFunc >::AddDat(), and EscStrH.
Referenced by THtmlLxChDef().
|
private |
|
private |
|
friend |
|
static |
|
private |
Definition at line 16 of file html.h.
Referenced by SetChTy(), and THtmlLxChDef().
|
private |
Definition at line 19 of file html.h.
Referenced by GetEscStr(), and SetEscStr().