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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TUrlLxChDef Class Reference

List of all members.

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

Detailed Description

Definition at line 3 of file url.cpp.


Constructor & Destructor Documentation


Member Function Documentation

void TUrlLxChDef::InclBoolV ( TBoolV BoolV,
const TBoolV OrBoolV 
) [private]

Definition at line 33 of file url.cpp.

                                                               {
  for (int BoolN=0; BoolN<BoolV.Len(); BoolN++){
    BoolV[BoolN]=BoolV[BoolN]||OrBoolV[BoolN];}}
void TUrlLxChDef::InclCh ( TBoolV BoolV,
const char &  Ch 
) [private]

Definition at line 28 of file url.cpp.

{BoolV[Ch]=true;}
void TUrlLxChDef::InclStr ( TBoolV BoolV,
const TStr Str 
) [private]

Definition at line 30 of file url.cpp.

                                                       {
  for (int CC=0; CC<Str.Len(); CC++){BoolV[Str.GetCh(CC)]=true;}}
bool TUrlLxChDef::IsDigitCh ( const char &  Ch) const [inline]

Definition at line 19 of file url.cpp.

{return (Ch>=0)&&IsDigitV[Ch];}
bool TUrlLxChDef::IsHostCh ( const char &  Ch) const [inline]

Definition at line 21 of file url.cpp.

{return (Ch>=0)&&IsHostV[Ch];}
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]

Definition at line 20 of file url.cpp.

{return (Ch>=0)&&IsSchemeV[Ch];}

Member Data Documentation

const char TUrlLxChDef::EofCh = 0 [static]

Definition at line 15 of file url.cpp.

const char TUrlLxChDef::EscCh = '%' [static]

Definition at line 16 of file url.cpp.

Definition at line 5 of file url.cpp.

Definition at line 6 of file url.cpp.

Definition at line 6 of file url.cpp.

Definition at line 8 of file url.cpp.

Definition at line 5 of file url.cpp.

Definition at line 10 of file url.cpp.

Definition at line 10 of file url.cpp.

Definition at line 5 of file url.cpp.

Definition at line 7 of file url.cpp.

Definition at line 7 of file url.cpp.

Definition at line 8 of file url.cpp.

Definition at line 6 of file url.cpp.

Definition at line 10 of file url.cpp.

Definition at line 9 of file url.cpp.

Definition at line 9 of file url.cpp.

Definition at line 9 of file url.cpp.


The documentation for this class was generated from the following file: