SNAP Library 2.0, Developer Reference  2013-05-13 16:33:57
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
Collaboration diagram for TUrlLxChDef:

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

Definition at line 37 of file url.cpp.

References EscCh, InclBoolV(), InclStr(), IsAlphaV, IsDigitV, IsExtraV, IsHexV, IsHiAlphaV, IsHostV, IsHSegmentV, IsLoAlphaV, IsNationalV, IsPunctuationV, IsReservedV, IsSafeV, IsSchemeV, IsUCharV, IsUnreservedV, and IsXCharV.

Here is the call graph for this function:


Member Function Documentation

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

Definition at line 33 of file url.cpp.

References TVec< TVal, TSizeTy >::Len().

Referenced by TUrlLxChDef().

                                                               {
  for (int BoolN=0; BoolN<BoolV.Len(); BoolN++){
    BoolV[BoolN]=BoolV[BoolN]||OrBoolV[BoolN];}}

Here is the call graph for this function:

Here is the caller graph for this function:

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.

References TStr::GetCh(), and TStr::Len().

Referenced by TUrlLxChDef().

                                                       {
  for (int CC=0; CC<Str.Len(); CC++){BoolV[Str.GetCh(CC)]=true;}}

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUrlLxChDef::IsDigitCh ( const char &  Ch) const [inline]

Definition at line 19 of file url.cpp.

References IsDigitV.

Referenced by TUrlLx::IsDigitCh().

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

Here is the caller graph for this function:

bool TUrlLxChDef::IsHostCh ( const char &  Ch) const [inline]

Definition at line 21 of file url.cpp.

References IsHostV.

Referenced by TUrlLx::GetHost().

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

Here is the caller graph for this function:

bool TUrlLxChDef::IsHSegmentCh ( const char &  Ch) const [inline]

Definition at line 22 of file url.cpp.

References IsHSegmentV.

Referenced by TUrlLx::IsHSegmentCh().

                                          {
    return (Ch<0)||((Ch>=0)&&IsHSegmentV[Ch]);}

Here is the caller graph for this function:

bool TUrlLxChDef::IsSchemeCh ( const char &  Ch) const [inline]

Definition at line 20 of file url.cpp.

References IsSchemeV.

Referenced by TUrlLx::IsSchemeCh().

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

Here is the caller graph for this function:


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.

Referenced by TUrlLxChDef().

Definition at line 5 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 6 of file url.cpp.

Referenced by IsDigitCh(), and TUrlLxChDef().

Definition at line 6 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 8 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 5 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 10 of file url.cpp.

Referenced by IsHostCh(), and TUrlLxChDef().

Definition at line 10 of file url.cpp.

Referenced by IsHSegmentCh(), and TUrlLxChDef().

Definition at line 5 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 7 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 7 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 8 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 6 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 10 of file url.cpp.

Referenced by IsSchemeCh(), and TUrlLxChDef().

Definition at line 9 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 9 of file url.cpp.

Referenced by TUrlLxChDef().

Definition at line 9 of file url.cpp.

Referenced by TUrlLxChDef().


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