gHParsed Class Reference

#include <gHtmlParser.h>

Inheritance diagram for gHParsed:

gStack gList gListGeneric gStorage gTop List of all members.

Public Member Functions

 gHParsed ()
virtual ~gHParsed ()
virtual int Depth ()
virtual char * Str (unsigned idx)
virtual char * StrMust (unsigned idx)
virtual gHtmlCoupleCurrentCouple ()
virtual gHtmlCoupleGetCouple (unsigned idx)
virtual gHtmlCoupleFindCouple (t_int16 idTag)
virtual void PushTagOptEnd (gHtmlCouple &couple)
virtual int PushTag (gHtmlCouple &couple, bool doCheckOnly=false)
virtual int PopTag (bool hasOptEnd)
virtual void TrashLast ()

Public Attributes

eHState state
bool hasBaseHRef
gStack kMust

Static Public Attributes

static const char * tblStateStr [e_HS_Last]

Protected Member Functions

int thisPush (gHtmlCouple &couple, gStack &aStack)
int thisPushCouple (gHtmlCouple &couple, bool hasOptEnd)

Constructor & Destructor Documentation

gHParsed::gHParsed  )  [inline]
 

Definition at line 225 of file gHtmlParser.h.

virtual gHParsed::~gHParsed  )  [inline, virtual]
 

Definition at line 229 of file gHtmlParser.h.


Member Function Documentation

gHtmlCouple * gHParsed::CurrentCouple  )  [virtual]
 

Definition at line 864 of file gHtmlParser.cpp.

Referenced by PopTag(), and TrashLast().

virtual int gHParsed::Depth  )  [inline, virtual]
 

Definition at line 240 of file gHtmlParser.h.

Referenced by CurrentCouple(), and gHSeq::thisCheck().

gHtmlCouple * gHParsed::FindCouple t_int16  idTag  )  [virtual]
 

Definition at line 894 of file gHtmlParser.cpp.

gHtmlCouple * gHParsed::GetCouple unsigned  idx  )  [virtual]
 

Definition at line 886 of file gHtmlParser.cpp.

Referenced by FindCouple(), and Str().

int gHParsed::PopTag bool  hasOptEnd  )  [virtual]
 

printf("DBG: ###POP_: "); for (unsigned dbgIdx=1; dbgIdx<=kMust.N(); dbgIdx++) printf("[%s]",StrMust(dbgIdx)); printf("DBG: ### line %u:(%s).\n",((gHtmlCouple*)kMust.EndPtr()->me)->iLine,((gHtmlCouple*)kMust.EndPtr()->me)->sTag.Str());

Definition at line 956 of file gHtmlParser.cpp.

Referenced by gHSeq::thisCheck().

int gHParsed::PushTag gHtmlCouple couple,
bool  doCheckOnly = false
[virtual]
 

printf("DBG: ###PUSH: "); for (unsigned dbgIdx=1; dbgIdx<=kMust.N(); dbgIdx++) printf("[%s]",StrMust(dbgIdx)); printf("DBG: ###(%s).\n",couple.sTag.Str());

Definition at line 912 of file gHtmlParser.cpp.

Referenced by gHSeq::thisCheck().

void gHParsed::PushTagOptEnd gHtmlCouple couple  )  [virtual]
 

Definition at line 907 of file gHtmlParser.cpp.

char * gHParsed::Str unsigned  idx  )  [virtual]
 

Reimplemented from gListGeneric.

Definition at line 873 of file gHtmlParser.cpp.

char * gHParsed::StrMust unsigned  idx  )  [virtual]
 

Definition at line 878 of file gHtmlParser.cpp.

int gHParsed::thisPush gHtmlCouple couple,
gStack aStack
[protected]
 

Definition at line 997 of file gHtmlParser.cpp.

Referenced by thisPushCouple().

int gHParsed::thisPushCouple gHtmlCouple couple,
bool  hasOptEnd
[protected]
 

Definition at line 1007 of file gHtmlParser.cpp.

Referenced by PushTag(), and PushTagOptEnd().

void gHParsed::TrashLast  )  [virtual]
 

Definition at line 991 of file gHtmlParser.cpp.


Member Data Documentation

bool gHParsed::hasBaseHRef
 

Definition at line 236 of file gHtmlParser.h.

Referenced by PushTag().

gStack gHParsed::kMust
 

Definition at line 237 of file gHtmlParser.h.

Referenced by PopTag(), StrMust(), gHtmlParser::thisParse(), thisPushCouple(), and TrashLast().

eHState gHParsed::state
 

Definition at line 235 of file gHtmlParser.h.

Referenced by PopTag(), PushTag(), and gHtmlParser::thisParse().

const char * gHParsed::tblStateStr [static]
 

Initial value:

{
        "START",
        "START_",
        "HTML",
        "HEAD",
        "HEAD_",
        "BODY",
        "BODY_",
        "HTML_"}

Definition at line 11 of file gHtmlParser.cpp.


The documentation for this class was generated from the following files:
Generated on Sat Aug 18 02:41:11 2007 for xpfweb_v2x lib by  doxygen 1.4.2