gHtmlCouple Class Reference

#include <gHtmlParser.h>

Inheritance diagram for gHtmlCouple:

gList gListGeneric gStorage gTop gdHCouple List of all members.

Public Member Functions

 gHtmlCouple (unsigned lineNr, char *sText)
 gHtmlCouple (unsigned lineNr, char *strTag, char *sAttrLst, bool doAddSkippedTags=true)
virtual ~gHtmlCouple ()
virtual bool IsOk ()
virtual bool IsText ()
virtual bool IsTagEnd ()
virtual bool IsAnchor ()
virtual bool IsSkippedTag ()
virtual char * GetStr ()
virtual char * GetStrForTree ()
virtual gStringTagString (bool forceEnd=false)
virtual char * GetHRef ()
unsigned Add (char *s)
unsigned Add (gString &copy)
virtual unsigned AddText (char *s)
virtual unsigned AddTag (char *strTag)
virtual void CopyTag (gHtmlCouple &copy)

Public Attributes

unsigned iLine
t_int16 idTag
t_int16 idEndTag
gString sTag
gHtmlStringpHStr
sHtmlElementpElem
gHAttrList attrL
int synError
t_int16 coupleId
t_int16 theDocType
gHtmlCoupleoCouple
gTagCoord tcoord

Protected Attributes

gString sTagStr
gString sWholeTag
gString sKeepStr

Constructor & Destructor Documentation

gHtmlCouple::gHtmlCouple unsigned  lineNr,
char *  sText
 

Definition at line 468 of file gHtmlParser.cpp.

gHtmlCouple::gHtmlCouple unsigned  lineNr,
char *  strTag,
char *  sAttrLst,
bool  doAddSkippedTags = true
 

Definition at line 482 of file gHtmlParser.cpp.

gHtmlCouple::~gHtmlCouple  )  [virtual]
 

Definition at line 504 of file gHtmlParser.cpp.


Member Function Documentation

unsigned gHtmlCouple::Add gString copy  ) 
 

Reimplemented from gList.

Definition at line 593 of file gHtmlParser.cpp.

unsigned gHtmlCouple::Add char *  s  ) 
 

Reimplemented from gList.

Definition at line 586 of file gHtmlParser.cpp.

Referenced by Add(), AddText(), gHList::AppendCouple(), and gHtmlCouple().

unsigned gHtmlCouple::AddTag char *  strTag  )  [virtual]
 

Definition at line 609 of file gHtmlParser.cpp.

Referenced by gHtmlCouple().

unsigned gHtmlCouple::AddText char *  s  )  [virtual]
 

Definition at line 598 of file gHtmlParser.cpp.

Referenced by CopyTag(), and gHtmlCouple().

virtual void gHtmlCouple::CopyTag gHtmlCouple copy  )  [inline, virtual]
 

Definition at line 161 of file gHtmlParser.h.

Referenced by gHList::AppendCouple(), and gHParsed::thisPush().

char * gHtmlCouple::GetHRef  )  [virtual]
 

Reimplemented in gdHCouple.

Definition at line 579 of file gHtmlParser.cpp.

char * gHtmlCouple::GetStr  )  [virtual]
 

Reimplemented in gdHCouple.

Definition at line 516 of file gHtmlParser.cpp.

Referenced by gHtmlContent::Str(), gdSnarfCont::Str(), gHParsed::StrMust(), gHSeq::thisBuild(), gHSeq::thisCheck(), and gHtmlParser::thisParse().

char * gHtmlCouple::GetStrForTree  )  [virtual]
 

Definition at line 540 of file gHtmlParser.cpp.

Referenced by gHTree::thisShowNode().

virtual bool gHtmlCouple::IsAnchor  )  [inline, virtual]
 

Definition at line 142 of file gHtmlParser.h.

Referenced by GetHRef(), and gdTxtCouple::Show().

bool gHtmlCouple::IsOk  )  [virtual]
 

Reimplemented from gStorage.

Reimplemented in gdHCouple.

Definition at line 510 of file gHtmlParser.cpp.

Referenced by gdHCouple::IsOk(), and gHSeq::thisCheck().

virtual bool gHtmlCouple::IsSkippedTag  )  [inline, virtual]
 

Definition at line 145 of file gHtmlParser.h.

Referenced by gHtmlParser::thisParse().

virtual bool gHtmlCouple::IsTagEnd  )  [inline, virtual]
 

Definition at line 139 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), GetHRef(), GetStr(), gdHCouple::GetStr(), GetStrForTree(), TagString(), gHSeq::thisBuild(), and gHSeq::thisCheck().

virtual bool gHtmlCouple::IsText  )  [inline, virtual]
 

Definition at line 136 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), CopyTag(), GetHRef(), GetStr(), gdHCouple::GetStr(), GetStrForTree(), IsOk(), gHNode::IsTag(), gdTxtCouple::Show(), TagString(), gHSeq::thisBuild(), gHSeq::thisCheck(), and gHtmlParser::thisParse().

gString & gHtmlCouple::TagString bool  forceEnd = false  )  [virtual]
 

Definition at line 568 of file gHtmlParser.cpp.

Referenced by gdHCouple::TagStr(), and gHtmlParser::thisParse().


Member Data Documentation

gHAttrList gHtmlCouple::attrL
 

Definition at line 126 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), gHList::AppendCouple(), CopyTag(), GetHRef(), GetStr(), GetStrForTree(), gHtmlCouple(), gdTxtCouple::Show(), gHtmlContent::thisAddHtmlTag(), and gHtmlParser::thisParse().

t_int16 gHtmlCouple::coupleId
 

Definition at line 128 of file gHtmlParser.h.

Referenced by CopyTag().

t_int16 gHtmlCouple::idEndTag
 

Definition at line 122 of file gHtmlParser.h.

Referenced by CopyTag(), IsTagEnd(), gHtmlContent::thisAddHtmlTag(), and gdHCouple::thisInitTag().

t_int16 gHtmlCouple::idTag
 

Definition at line 121 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), CopyTag(), gHParsed::FindCouple(), gdHCouple::GetHRef(), IsAnchor(), IsOk(), IsText(), gHParsed::PopTag(), gHParsed::PushTag(), gdTxtCouple::Show(), gHSeq::thisBuild(), gHSeq::thisCheck(), gdHCouple::thisInitTag(), and gHtmlParser::thisParse().

unsigned gHtmlCouple::iLine
 

Definition at line 120 of file gHtmlParser.h.

Referenced by gHList::AppendCouple(), gdHCouple::CopyNormalizeAttr(), gdTxtCouple::Show(), gHtmlParser::thisParse(), and gHParsed::thisPush().

gHtmlCouple* gHtmlCouple::oCouple
 

Definition at line 131 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), gdSnarfCont::GetOCouple(), gdSnarfCont::Str(), and ~gHtmlCouple().

sHtmlElement* gHtmlCouple::pElem
 

Definition at line 125 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), CopyTag(), IsOk(), gHSeq::thisCheck(), gdHCouple::thisInitTag(), and gHtmlParser::thisParse().

gHtmlString* gHtmlCouple::pHStr
 

Definition at line 124 of file gHtmlParser.h.

Referenced by AddText(), GetStr(), gdHCouple::GetStr(), GetStrForTree(), gHtmlParser::thisParse(), and ~gHtmlCouple().

gString gHtmlCouple::sKeepStr [protected]
 

Definition at line 177 of file gHtmlParser.h.

Referenced by GetStrForTree().

gString gHtmlCouple::sTag
 

Definition at line 123 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), AddTag(), gHList::AppendCouple(), CopyTag(), GetStr(), gdHCouple::GetStr(), GetStrForTree(), TagString(), gdHCouple::thisInitTag(), gHtmlParser::thisParse(), and gHParsed::thisPush().

gString gHtmlCouple::sTagStr [protected]
 

Definition at line 175 of file gHtmlParser.h.

Referenced by TagString().

gString gHtmlCouple::sWholeTag [protected]
 

Definition at line 176 of file gHtmlParser.h.

Referenced by GetStr(), gdHCouple::GetStr(), and GetStrForTree().

int gHtmlCouple::synError
 

Definition at line 127 of file gHtmlParser.h.

Referenced by gdSnarfCont::Add(), AddTag(), CopyTag(), gHtmlCouple(), IsOk(), IsSkippedTag(), gHSeq::thisCheck(), and gHtmlParser::thisParse().

gTagCoord gHtmlCouple::tcoord
 

Definition at line 132 of file gHtmlParser.h.

t_int16 gHtmlCouple::theDocType
 

Definition at line 129 of file gHtmlParser.h.

Referenced by AddTag(), CopyTag(), and gHtmlParser::thisParse().


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