SNAP Library 3.0, User 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 Types | |
typedef TStrKdV | TArgNmValV |
Public Member Functions | |
THtmlLx (const PSIn &_SIn, const bool &_DoParseArg=true) | |
THtmlLx & | operator= (const THtmlLx &) |
void | PutCh (const char &_Ch) |
void | PutStr (const TStr &Str) |
THtmlLxSym | GetSym () |
PHtmlTok | GetTok (const bool &DoUc=true) |
TStr | GetPreSpaceStr () const |
int | GetArgs () const |
TStr | GetArgNm (const int &ArgN) const |
TStr | GetArgVal (const int &ArgN) const |
bool | IsArg (const TStr &ArgNm) const |
TStr | GetArg (const TStr &ArgNm, const TStr &DfArgVal=TStr()) const |
void | PutArg (const TStr &ArgNm, const TStr &ArgVal) |
TStr | GetFullBTagStr () const |
void | MoveToStrOrEof (const TStr &Str) |
void | MoveToBTagOrEof (const TStr &TagNm) |
void | MoveToBTag2OrEof (const TStr &TagNm1, const TStr &TagNm2) |
void | MoveToBTag3OrEof (const TStr &TagNm1, const TStr &TagNm2, const TStr &TagNm3) |
void | MoveToBTagOrETagOrEof (const TStr &BTagNm, const TStr &ETagNm) |
void | MoveToBTagArgOrEof (const TStr &TagNm, const TStr &ArgNm, const TStr &ArgVal) |
void | MoveToBTagArg2OrEof (const TStr &TagNm, const TStr &ArgNm1, const TStr &ArgVal1, const TStr &ArgNm2, const TStr &ArgVal2, const bool &AndOpP=true) |
void | MoveToBTagOrEof (const TStr &TagNm1, const TStr &ArgNm1, const TStr &ArgVal1, const TStr &TagNm2, const TStr &ArgNm2, const TStr &ArgVal2) |
void | MoveToETagOrEof (const TStr &TagNm) |
TStr | GetTextOnlyStrToEof () |
TStr | GetStrToBTag (const TStr &TagNm, const bool &TxtOnlyP=false) |
TStr | GetStrToBTag (const TStr &TagNm, const TStr &ArgNm, const TStr &ArgVal, const bool &TxtOnlyP=false) |
TStr | GetStrToETag (const TStr &TagNm, const bool &TxtOnlyP=false) |
TStr | GetStrToETag2 (const TStr &TagNm1, const TStr &TagNm2, const bool &TxtOnlyP=false) |
TStr | GetStrInTag (const TStr &TagNm, const bool &TxtOnlyP=false) |
TStr | GetHRefBeforeStr (const TStr &Str) |
bool | IsGetBTag (const TStr &TagNm) |
bool | IsGetETag (const TStr &TagNm) |
Static Public Member Functions | |
static TStr | GetSymStr (const THtmlLxSym &Sym) |
static TStr | GetEscapedStr (const TChA &ChA) |
static TStr | GetAsciiStr (const TChA &ChA, const char &GenericCh='_') |
static void | GetTokStrV (const TStr &Str, TStrV &TokStrV) |
static TStr | GetNoTag (const TStr &Str) |
Public Attributes | |
THtmlLxSym | Sym |
int | SymBChX |
int | SymEChX |
TChA | ChA |
TChA | UcChA |
TChA | SymChA |
int | PreSpaces |
TChA | PreSpaceChA |
TArgNmValV | ArgNmValV |
Private Member Functions | |
void | GetCh () |
void | GetEscCh () |
void | GetMetaTag () |
void | GetTag () |
Private Attributes | |
PSIn | SIn |
TSIn & | RSIn |
bool | DoParseArg |
TChA | ChStack |
char | Ch |
int | ChX |
bool | EscCh |
TChA | EscChA |
TChA | ArgNm |
TChA | ArgVal |
Static Private Attributes | |
static THtmlLxChDef | ChDef |
typedef TStrKdV THtmlLx::TArgNmValV |
|
inline |
|
inlineprivate |
Definition at line 530 of file html.cpp.
Definition at line 525 of file html.cpp.
TStr THtmlLx::GetStrToBTag | ( | const TStr & | TagNm, |
const TStr & | ArgNm, | ||
const TStr & | ArgVal, | ||
const bool & | TxtOnlyP = false |
||
) |
Definition at line 477 of file html.cpp.
TStr THtmlLx::GetStrToETag2 | ( | const TStr & | TagNm1, |
const TStr & | TagNm2, | ||
const bool & | TxtOnlyP = false |
||
) |
THtmlLxSym THtmlLx::GetSym | ( | ) |
|
static |
|
private |
PHtmlTok THtmlLx::GetTok | ( | const bool & | DoUc = true | ) |
Definition at line 353 of file html.cpp.
|
inline |
void THtmlLx::MoveToBTagArg2OrEof | ( | const TStr & | TagNm, |
const TStr & | ArgNm1, | ||
const TStr & | ArgVal1, | ||
const TStr & | ArgNm2, | ||
const TStr & | ArgVal2, | ||
const bool & | AndOpP = true |
||
) |
Definition at line 410 of file html.cpp.
Definition at line 400 of file html.cpp.
void THtmlLx::MoveToBTagOrEof | ( | const TStr & | TagNm1, |
const TStr & | ArgNm1, | ||
const TStr & | ArgVal1, | ||
const TStr & | TagNm2, | ||
const TStr & | ArgNm2, | ||
const TStr & | ArgVal2 | ||
) |
Definition at line 428 of file html.cpp.
TArgNmValV THtmlLx::ArgNmValV |
|
staticprivate |
THtmlLxSym THtmlLx::Sym |