gUnweb Class Reference

#include <gweb.h>

Inheritance diagram for gUnweb:

gFileFetch gFileText gFileStream gFile List of all members.

Public Types

enum  eTagCaseChange { e_CaseUnchange, e_CaseConvUpper, e_CaseConvDown }
enum  eDumpMask { e_ShowNonscript = 1, e_ShowScript = 2, e_ShowAll = e_ShowNonscript | e_ShowScript }

Public Member Functions

 gUnweb (char *fName, bool doVerbose)
 gUnweb (gString &sInput, bool doVerbose)
virtual ~gUnweb ()
virtual bool IsVerbose ()
virtual FILE * VerboseStream ()
virtual bool IsBufferOk ()
virtual char * Str (unsigned idx)
virtual bool HasProcessed ()
virtual bool HasErrors ()
unsigned FindStringKey (gString &s, char *sub, unsigned startPos, unsigned endPos)
unsigned FindStringKey (gString &s, char *sub)
unsigned FindStringKey (char *s, char *sub, unsigned startPos, unsigned endPos)
unsigned FindStringKey (char *s, char *sub)
bool SetVerboseStream (FILE *aFRepErr)
void SetTagCaseChange (eTagCaseChange aTagCaseCh)
void SetChrHtmParsed (t_uchar c)
int Dump (FILE *fRepErr)

Public Attributes

int firstHtmlError
int firstHtmlErrLNr
int lastHtmlError
int lastHtmlErrLNr
int nHtmlErrors
eDumpMask showKind
sCoordText coordComments
sCoordText coordSerial
sCoordText coordParseErr

Protected Member Functions

int thisConsolidateData (gList &iL, unsigned lowL, unsigned highL, short step)
int thisConsolidateDataCoord (sCoordText &cErr, sCoordText &coord)
int thisCutCommentsInTxt (sCoordText &coordCmt, sCoordText &zRes)
int thisPreProcess (FILE *fRepErr, gList &iL, gList &oL)
int thisPreJoin (FILE *fRepErr, gList &iL, gList &sL, gList &oL)
int thisPreStripComments (FILE *fRepErr, gList &iL, sCoordText &zRes)
int thisStrMove (gString &s, unsigned startPos, unsigned endPos, gList &oL)
int thisStripReplace (gString &s, char *resStr)
int thisStrSetParse (gString &s, unsigned startPos, unsigned endPos, gString &sResult)
int thisPostProcess (FILE *fRepErr, gList &headL, gList &iL, gList &oL, sCoordText &coord)
int thisAddTxt (int x, int y, char *s, sCoordText &coord)
int thisAddTxt (int x, int y, gString &sTxt, sCoordText &coord)
int thisAddCmd (int x, int y, char *s, sCoordText &coord)
int thisAddCmd (int x, int y, gString &sCmd, sCoordText &coord)
int thisTxtCheck (int x, int y, gString &s, sCoordText &cErr)

Protected Attributes

bool isVerbose
eTagCaseChange tagCaseCh

Member Enumeration Documentation

enum gUnweb::eDumpMask
 

Enumeration values:
e_ShowNonscript 
e_ShowScript 
e_ShowAll 

Definition at line 171 of file gweb.h.

enum gUnweb::eTagCaseChange
 

Enumeration values:
e_CaseUnchange 
e_CaseConvUpper 
e_CaseConvDown 

Definition at line 165 of file gweb.h.


Constructor & Destructor Documentation

gUnweb::gUnweb char *  fName,
bool  doVerbose
 

Definition at line 222 of file gweb.cpp.

gUnweb::gUnweb gString sInput,
bool  doVerbose
 

Definition at line 240 of file gweb.cpp.

gUnweb::~gUnweb  )  [virtual]
 

Definition at line 257 of file gweb.cpp.


Member Function Documentation

int gUnweb::Dump FILE *  fRepErr  ) 
 

Definition at line 334 of file gweb.cpp.

unsigned gUnweb::FindStringKey char *  s,
char *  sub
 

Definition at line 327 of file gweb.cpp.

unsigned gUnweb::FindStringKey char *  s,
char *  sub,
unsigned  startPos,
unsigned  endPos
 

Definition at line 320 of file gweb.cpp.

unsigned gUnweb::FindStringKey gString s,
char *  sub
 

Definition at line 315 of file gweb.cpp.

unsigned gUnweb::FindStringKey gString s,
char *  sub,
unsigned  startPos,
unsigned  endPos
 

Definition at line 286 of file gweb.cpp.

Referenced by FindStringKey(), thisPostProcess(), and thisTxtCheck().

virtual bool gUnweb::HasErrors  )  [inline, virtual]
 

Definition at line 199 of file gweb.h.

virtual bool gUnweb::HasProcessed  )  [inline, virtual]
 

Definition at line 196 of file gweb.h.

Referenced by Str(), and thisPreProcess().

bool gUnweb::IsBufferOk  )  [virtual]
 

Reimplemented from gFileFetch.

Definition at line 268 of file gweb.cpp.

virtual bool gUnweb::IsVerbose  )  [inline, virtual]
 

Definition at line 188 of file gweb.h.

void gUnweb::SetChrHtmParsed t_uchar  c  ) 
 

Definition at line 279 of file gweb.cpp.

Referenced by gUnweb().

void gUnweb::SetTagCaseChange eTagCaseChange  aTagCaseCh  )  [inline]
 

Definition at line 213 of file gweb.h.

bool gUnweb::SetVerboseStream FILE *  aFRepErr  ) 
 

Definition at line 399 of file gweb.cpp.

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

Reimplemented from gFileFetch.

Definition at line 273 of file gweb.cpp.

Referenced by Dump(), and gHtmlParser::thisFillFromUnweb().

int gUnweb::thisAddCmd int  x,
int  y,
gString sCmd,
sCoordText coord
[protected]
 

Definition at line 1112 of file gweb.cpp.

int gUnweb::thisAddCmd int  x,
int  y,
char *  s,
sCoordText coord
[protected]
 

Definition at line 1105 of file gweb.cpp.

Referenced by thisPostProcess().

int gUnweb::thisAddTxt int  x,
int  y,
gString sTxt,
sCoordText coord
[protected]
 

Definition at line 1082 of file gweb.cpp.

int gUnweb::thisAddTxt int  x,
int  y,
char *  s,
sCoordText coord
[protected]
 

Definition at line 1075 of file gweb.cpp.

Referenced by thisPostProcess().

int gUnweb::thisConsolidateData gList iL,
unsigned  lowL,
unsigned  highL,
short  step
[protected]
 

Definition at line 406 of file gweb.cpp.

Referenced by Dump(), and thisPreProcess().

int gUnweb::thisConsolidateDataCoord sCoordText cErr,
sCoordText coord
[protected]
 

printf("DBG:%s:%d:[lvl%d]: [%s]\n",hasSomeScript?"SCR":"nor",x,levelScript,str);

Definition at line 447 of file gweb.cpp.

Referenced by Dump().

int gUnweb::thisCutCommentsInTxt sCoordText coordCmt,
sCoordText zRes
[protected]
 

Definition at line 597 of file gweb.cpp.

Referenced by Dump().

int gUnweb::thisPostProcess FILE *  fRepErr,
gList headL,
gList iL,
gList oL,
sCoordText coord
[protected]
 

Definition at line 922 of file gweb.cpp.

Referenced by Dump().

int gUnweb::thisPreJoin FILE *  fRepErr,
gList iL,
gList sL,
gList oL
[protected]
 

Definition at line 715 of file gweb.cpp.

Referenced by thisPreProcess().

int gUnweb::thisPreProcess FILE *  fRepErr,
gList iL,
gList oL
[protected]
 

Definition at line 645 of file gweb.cpp.

Referenced by Dump().

int gUnweb::thisPreStripComments FILE *  fRepErr,
gList iL,
sCoordText zRes
[protected]
 

Definition at line 792 of file gweb.cpp.

Referenced by thisPreProcess().

int gUnweb::thisStripReplace gString s,
char *  resStr
[protected]
 

Definition at line 898 of file gweb.cpp.

Referenced by thisPostProcess(), and thisPreJoin().

int gUnweb::thisStrMove gString s,
unsigned  startPos,
unsigned  endPos,
gList oL
[protected]
 

Definition at line 861 of file gweb.cpp.

Referenced by thisPostProcess(), thisPreJoin(), and thisStrSetParse().

int gUnweb::thisStrSetParse gString s,
unsigned  startPos,
unsigned  endPos,
gString sResult
[protected]
 

Definition at line 910 of file gweb.cpp.

Referenced by thisPostProcess(), and thisPreJoin().

int gUnweb::thisTxtCheck int  x,
int  y,
gString s,
sCoordText cErr
[protected]
 

Definition at line 1120 of file gweb.cpp.

Referenced by thisAddTxt().

FILE * gUnweb::VerboseStream  )  [virtual]
 

Definition at line 261 of file gweb.cpp.

Referenced by Dump(), and thisPreProcess().


Member Data Documentation

sCoordText gUnweb::coordComments
 

Definition at line 183 of file gweb.h.

Referenced by Dump(), and thisPreProcess().

sCoordText gUnweb::coordParseErr
 

Definition at line 185 of file gweb.h.

Referenced by Dump(), and thisAddTxt().

sCoordText gUnweb::coordSerial
 

Definition at line 184 of file gweb.h.

Referenced by Dump(), Str(), and gHtmlParser::thisFillFromUnweb().

int gUnweb::firstHtmlErrLNr
 

Definition at line 178 of file gweb.h.

Referenced by thisConsolidateDataCoord(), and thisPreProcess().

int gUnweb::firstHtmlError
 

Definition at line 178 of file gweb.h.

Referenced by thisPreProcess().

bool gUnweb::isVerbose [protected]
 

Definition at line 222 of file gweb.h.

Referenced by Dump(), IsVerbose(), SetVerboseStream(), thisPreProcess(), and VerboseStream().

int gUnweb::lastHtmlErrLNr
 

Definition at line 179 of file gweb.h.

Referenced by thisConsolidateDataCoord(), and thisPreProcess().

int gUnweb::lastHtmlError
 

Definition at line 179 of file gweb.h.

Referenced by thisPreProcess().

int gUnweb::nHtmlErrors
 

Definition at line 180 of file gweb.h.

Referenced by Dump(), HasErrors(), HasProcessed(), thisConsolidateDataCoord(), and thisPreProcess().

eDumpMask gUnweb::showKind
 

Definition at line 181 of file gweb.h.

Referenced by thisAddTxt().

eTagCaseChange gUnweb::tagCaseCh [protected]
 

Definition at line 223 of file gweb.h.

Referenced by SetTagCaseChange(), and thisConsolidateDataCoord().


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