gDirGeneric Class Reference

#include <gdir.h>

Inheritance diagram for gDirGeneric:

gList gListGeneric gStorage gTop gDir List of all members.

Public Member Functions

virtual ~gDirGeneric ()
virtual bool IsOk ()
virtual bool IsNameOk (char *s)
virtual bool AllNamesOk (int depthLevel)
virtual gFileSysNameGetName (unsigned idx)
virtual t_ucharToString (t_uchar *uBuf)
virtual bool SaveGuts (FILE *f)
virtual bool RestoreGuts (FILE *f)

Public Attributes

int lastOpError
gDirName sDirName

Static Public Attributes

static t_uchar slashChr = gSLASHCHR

Protected Member Functions

 gDirGeneric (eStorage kind)
bool thisNameOk (char *s, unsigned &posBad)
bool thisAllNamesOk (unsigned depthLevel, unsigned &posBad, int &notOkDepth)

Protected Attributes

gString slashStr

Constructor & Destructor Documentation

gDirGeneric::~gDirGeneric  )  [virtual]
 

Definition at line 210 of file gdir.cpp.

gDirGeneric::gDirGeneric eStorage  kind  )  [protected]
 

Definition at line 204 of file gdir.cpp.


Member Function Documentation

bool gDirGeneric::AllNamesOk int  depthLevel  )  [virtual]
 

Definition at line 220 of file gdir.cpp.

Referenced by SaveGuts().

gFileSysName * gDirGeneric::GetName unsigned  idx  )  [virtual]
 

Definition at line 228 of file gdir.cpp.

Referenced by gDir::GetFullNameDir(), and gDir::GetStat().

bool gDirGeneric::IsNameOk char *  s  )  [virtual]
 

Definition at line 214 of file gdir.cpp.

Referenced by RestoreGuts(), and thisAllNamesOk().

virtual bool gDirGeneric::IsOk  )  [inline, virtual]
 

Reimplemented from gStorage.

Definition at line 142 of file gdir.h.

bool gDirGeneric::RestoreGuts FILE *  f  )  [virtual]
 

Reimplemented from gList.

Definition at line 259 of file gdir.cpp.

bool gDirGeneric::SaveGuts FILE *  f  )  [virtual]
 

Reimplemented from gList.

Definition at line 240 of file gdir.cpp.

bool gDirGeneric::thisAllNamesOk unsigned  depthLevel,
unsigned &  posBad,
int &  notOkDepth
[protected]
 

Definition at line 300 of file gdir.cpp.

Referenced by AllNamesOk().

bool gDirGeneric::thisNameOk char *  s,
unsigned &  posBad
[protected]
 

Definition at line 274 of file gdir.cpp.

Referenced by IsNameOk().

t_uchar * gDirGeneric::ToString t_uchar uBuf  )  [virtual]
 

Reimplemented from gList.

Definition at line 235 of file gdir.cpp.


Member Data Documentation

int gDirGeneric::lastOpError
 

Definition at line 137 of file gdir.h.

Referenced by gDir::gDir(), gStrControl::Init(), IsOk(), and gDir::thisScanDir().

gDirName gDirGeneric::sDirName
 

Definition at line 138 of file gdir.h.

Referenced by gDir::gDir(), gDir::GetFullNameDir(), and gDir::thisScanDir().

t_uchar gDirGeneric::slashChr = gSLASHCHR [static]
 

Definition at line 10 of file gdir.cpp.

Referenced by thisNameOk().

gString gDirGeneric::slashStr [protected]
 

Definition at line 161 of file gdir.h.

Referenced by thisNameOk().


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