gHtmlParser Class Reference

#include <gHtmlParser.h>

Inheritance diagram for gHtmlParser:

gControl gStorage gTop List of all members.

Public Member Functions

 gHtmlParser (gUnweb *ptrUnweb)
virtual ~gHtmlParser ()
virtual t_int16 GetTagMaxId ()
virtual sHtmlElementGetTagElement (t_int16 idxTag)
virtual sHtmlElementFindTag (char *strTag)
virtual int FindTagIdx (char *strTag, t_int16 &idxTag)
virtual sAttrDefGetAttrDef (t_int16 idxAttr)
virtual sAttrReferGetAttrRef ()
virtual sAttrNormGetDefaultAttrNorm (t_int16 idxNorm)
virtual t_int16 GetNAttrType ()
virtual sHAttrTypeGetAttrType (t_int16 idxType)
virtual void ReleaseHash ()
virtual bool SetOptions (gHtmlOpt &copy)
virtual int Parse (FILE *fRepErr)
virtual int SetError (int opError)
virtual int SetWarn (int opError)
int ShowTree (FILE *fRepErr)
int Show_dbg (bool doShowAll=true)

Public Attributes

gFileOut fOutAll
t_int16 docType
int nErrorsSyntax
int nErrorsOther
int nWarnings
int lastWarnOpCode
gHtmlOpt htmlOpt
gList lOut
gHList lParts [e_HS_Last]

Protected Member Functions

int thisFillFromUnweb (gUnweb &unweb, gHtmlContent &hInput)
sHtmlElementthisFindTag (char *strTag, t_int16 &idxTag)
int thisParse (FILE *fRepErr)

Protected Attributes

gString myBaseHRef
gUnwebpUnweb
gHtmlContent htmlInput

Constructor & Destructor Documentation

gHtmlParser::gHtmlParser gUnweb ptrUnweb  ) 
 

Definition at line 1035 of file gHtmlParser.cpp.

gHtmlParser::~gHtmlParser  )  [virtual]
 

Definition at line 1047 of file gHtmlParser.cpp.


Member Function Documentation

virtual sHtmlElement* gHtmlParser::FindTag char *  strTag  )  [inline, virtual]
 

Definition at line 316 of file gHtmlParser.h.

virtual int gHtmlParser::FindTagIdx char *  strTag,
t_int16 idxTag
[inline, virtual]
 

Definition at line 321 of file gHtmlParser.h.

sAttrDef * gHtmlParser::GetAttrDef t_int16  idxAttr  )  [virtual]
 

Definition at line 1057 of file gHtmlParser.cpp.

Referenced by gHAttrs::BuildFromLRLists(), and gdHCouple::CopyNormalizeAttr().

sAttrRefer * gHtmlParser::GetAttrRef  )  [virtual]
 

Definition at line 1064 of file gHtmlParser.cpp.

Referenced by gHAttrs::BuildFromLRLists(), and gdHCouple::CopyNormalizeAttr().

sHAttrType * gHtmlParser::GetAttrType t_int16  idxType  )  [virtual]
 

Definition at line 1076 of file gHtmlParser.cpp.

Referenced by gHAttrs::TypeName2HAttrType().

sAttrNorm * gHtmlParser::GetDefaultAttrNorm t_int16  idxNorm  )  [virtual]
 

Definition at line 1070 of file gHtmlParser.cpp.

virtual t_int16 gHtmlParser::GetNAttrType  )  [inline, virtual]
 

Definition at line 334 of file gHtmlParser.h.

Referenced by GetAttrType(), and gHAttrs::TypeName2HAttrType().

sHtmlElement * gHtmlParser::GetTagElement t_int16  idxTag  )  [virtual]
 

Definition at line 1051 of file gHtmlParser.cpp.

virtual t_int16 gHtmlParser::GetTagMaxId  )  [inline, virtual]
 

Definition at line 310 of file gHtmlParser.h.

int gHtmlParser::Parse FILE *  fRepErr  )  [virtual]
 

Definition at line 1118 of file gHtmlParser.cpp.

void gHtmlParser::ReleaseHash  )  [virtual]
 

Definition at line 1083 of file gHtmlParser.cpp.

Referenced by gHtmlCtrl::ReleaseHash().

int gHtmlParser::SetError int  opError  )  [virtual]
 

Reimplemented from gControl.

Definition at line 1125 of file gHtmlParser.cpp.

bool gHtmlParser::SetOptions gHtmlOpt copy  )  [virtual]
 

Definition at line 1098 of file gHtmlParser.cpp.

int gHtmlParser::SetWarn int  opError  )  [virtual]
 

Definition at line 1133 of file gHtmlParser.cpp.

Referenced by thisParse().

int gHtmlParser::Show_dbg bool  doShowAll = true  ) 
 

int gHtmlParser::ShowTree FILE *  fRepErr  ) 
 

Definition at line 1142 of file gHtmlParser.cpp.

int gHtmlParser::thisFillFromUnweb gUnweb unweb,
gHtmlContent hInput
[protected]
 

Definition at line 1220 of file gHtmlParser.cpp.

Referenced by thisParse().

sHtmlElement * gHtmlParser::thisFindTag char *  strTag,
t_int16 idxTag
[protected]
 

Definition at line 1230 of file gHtmlParser.cpp.

Referenced by FindTag(), FindTagIdx(), and thisParse().

int gHtmlParser::thisParse FILE *  fRepErr  )  [protected]
 

Definition at line 1375 of file gHtmlParser.cpp.

Referenced by Parse().


Member Data Documentation

t_int16 gHtmlParser::docType
 

Definition at line 300 of file gHtmlParser.h.

Referenced by thisParse().

gFileOut gHtmlParser::fOutAll
 

Definition at line 299 of file gHtmlParser.h.

gHtmlContent gHtmlParser::htmlInput [protected]
 

Definition at line 356 of file gHtmlParser.h.

Referenced by SetOptions(), and thisParse().

gHtmlOpt gHtmlParser::htmlOpt
 

Definition at line 305 of file gHtmlParser.h.

Referenced by gdHCouple::CopyNormalizeAttr(), SetOptions(), ShowTree(), and thisParse().

int gHtmlParser::lastWarnOpCode
 

Definition at line 304 of file gHtmlParser.h.

Referenced by SetWarn(), and thisParse().

gList gHtmlParser::lOut
 

Definition at line 306 of file gHtmlParser.h.

gHList gHtmlParser::lParts[e_HS_Last]
 

Definition at line 307 of file gHtmlParser.h.

Referenced by ShowTree().

gString gHtmlParser::myBaseHRef [protected]
 

Definition at line 354 of file gHtmlParser.h.

Referenced by ShowTree(), and thisParse().

int gHtmlParser::nErrorsOther
 

Definition at line 302 of file gHtmlParser.h.

Referenced by thisParse().

int gHtmlParser::nErrorsSyntax
 

Definition at line 301 of file gHtmlParser.h.

Referenced by thisParse().

int gHtmlParser::nWarnings
 

Definition at line 303 of file gHtmlParser.h.

Referenced by SetWarn().

gUnweb* gHtmlParser::pUnweb [protected]
 

Definition at line 355 of file gHtmlParser.h.

Referenced by thisParse().


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