|
SNAP Library 2.1, User Reference
2013-09-25 10:47:25
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Public Member Functions | |
| TUrlLxChDef () | |
| bool | IsDigitCh (const char &Ch) const |
| bool | IsSchemeCh (const char &Ch) const |
| bool | IsHostCh (const char &Ch) const |
| bool | IsHSegmentCh (const char &Ch) const |
Static Public Attributes | |
| static const char | EofCh = 0 |
| static const char | EscCh = '%' |
Private Member Functions | |
| void | InclCh (TBoolV &BoolV, const char &Ch) |
| void | InclStr (TBoolV &BoolV, const TStr &Str) |
| void | InclBoolV (TBoolV &BoolV, const TBoolV &OrBoolV) |
Private Attributes | |
| TBoolV | IsLoAlphaV |
| TBoolV | IsHiAlphaV |
| TBoolV | IsAlphaV |
| TBoolV | IsDigitV |
| TBoolV | IsSafeV |
| TBoolV | IsExtraV |
| TBoolV | IsNationalV |
| TBoolV | IsPunctuationV |
| TBoolV | IsReservedV |
| TBoolV | IsHexV |
| TBoolV | IsUnreservedV |
| TBoolV | IsUCharV |
| TBoolV | IsXCharV |
| TBoolV | IsSchemeV |
| TBoolV | IsHostV |
| TBoolV | IsHSegmentV |
Definition at line 37 of file url.cpp.
: IsLoAlphaV(TCh::Vals), IsHiAlphaV(TCh::Vals), IsAlphaV(TCh::Vals), IsDigitV(TCh::Vals), IsSafeV(TCh::Vals), IsExtraV(TCh::Vals), IsNationalV(TCh::Vals), IsPunctuationV(TCh::Vals), IsReservedV(TCh::Vals), IsHexV(TCh::Vals), IsUnreservedV(TCh::Vals), IsUCharV(TCh::Vals), IsXCharV(TCh::Vals), IsSchemeV(TCh::Vals), IsHostV(TCh::Vals), IsHSegmentV(TCh::Vals){ InclStr(IsLoAlphaV, "abcdefghijklmnopqrstuvwxyz"); InclStr(IsHiAlphaV, "ABCDEFGHIJKLMNOPQRSTUVWXYZ"); InclBoolV(IsAlphaV, IsLoAlphaV); InclBoolV(IsAlphaV, IsHiAlphaV); InclStr(IsDigitV, "0123456789"); InclStr(IsSafeV, "$-_.+"); InclStr(IsExtraV, "!*'(),"); InclStr(IsNationalV, "{}|\\^~[]`"); InclStr(IsPunctuationV, "<>#%\""); InclStr(IsReservedV, ";/?:@&="); InclBoolV(IsHexV, IsDigitV); InclStr(IsHexV, "ABCDEFabcdef"); InclBoolV(IsUnreservedV, IsAlphaV); InclBoolV(IsUnreservedV, IsDigitV); InclBoolV(IsUnreservedV, IsSafeV); InclBoolV(IsUnreservedV, IsExtraV); InclBoolV(IsUCharV, IsUnreservedV); InclStr(IsUCharV, TStr(EscCh)); InclBoolV(IsXCharV, IsUnreservedV); InclBoolV(IsXCharV, IsReservedV); InclStr(IsXCharV, TStr(EscCh)); InclBoolV(IsSchemeV, IsAlphaV); InclBoolV(IsSchemeV, IsDigitV); InclStr(IsSchemeV, "+-."); InclBoolV(IsHostV, IsAlphaV); InclBoolV(IsHostV, IsDigitV); InclStr(IsHostV, "-_"); InclBoolV(IsHSegmentV, IsUCharV); InclStr(IsHSegmentV, ";:@&="); InclBoolV(IsHSegmentV, IsNationalV); InclStr(IsHSegmentV, " "); }
| void TUrlLxChDef::InclBoolV | ( | TBoolV & | BoolV, |
| const TBoolV & | OrBoolV | ||
| ) | [private] |
| void TUrlLxChDef::InclCh | ( | TBoolV & | BoolV, |
| const char & | Ch | ||
| ) | [private] |
| void TUrlLxChDef::InclStr | ( | TBoolV & | BoolV, |
| const TStr & | Str | ||
| ) | [private] |
| bool TUrlLxChDef::IsDigitCh | ( | const char & | Ch | ) | const [inline] |
| bool TUrlLxChDef::IsHostCh | ( | const char & | Ch | ) | const [inline] |
| bool TUrlLxChDef::IsHSegmentCh | ( | const char & | Ch | ) | const [inline] |
Definition at line 22 of file url.cpp.
{
return (Ch<0)||((Ch>=0)&&IsHSegmentV[Ch]);}
| bool TUrlLxChDef::IsSchemeCh | ( | const char & | Ch | ) | const [inline] |
const char TUrlLxChDef::EofCh = 0 [static] |
const char TUrlLxChDef::EscCh = '%' [static] |
TBoolV TUrlLxChDef::IsAlphaV [private] |
TBoolV TUrlLxChDef::IsDigitV [private] |
TBoolV TUrlLxChDef::IsExtraV [private] |
TBoolV TUrlLxChDef::IsHexV [private] |
TBoolV TUrlLxChDef::IsHiAlphaV [private] |
TBoolV TUrlLxChDef::IsHostV [private] |
TBoolV TUrlLxChDef::IsHSegmentV [private] |
TBoolV TUrlLxChDef::IsLoAlphaV [private] |
TBoolV TUrlLxChDef::IsNationalV [private] |
TBoolV TUrlLxChDef::IsPunctuationV [private] |
TBoolV TUrlLxChDef::IsReservedV [private] |
TBoolV TUrlLxChDef::IsSafeV [private] |
TBoolV TUrlLxChDef::IsSchemeV [private] |
TBoolV TUrlLxChDef::IsUCharV [private] |
TBoolV TUrlLxChDef::IsUnreservedV [private] |
TBoolV TUrlLxChDef::IsXCharV [private] |