#include <gcontrol.h>
Inheritance diagram for gControl:
Public Member Functions | |
gControl (eStorage aKind=e_Control) | |
virtual | ~gControl () |
virtual bool | IsOk () |
virtual char * | GetErrorStr () |
virtual t_uint16 | GetRandom (t_uint16 maxRange) |
virtual int | MinimumStorageSize () |
virtual int | MaximumStorageSize () |
virtual void | Reset () |
virtual void | ResetLog () |
virtual int | SetDefaultDbgLevel (int aDbgLevel) |
virtual int | SetError (int opError) |
int | Log (FILE *dbgFile, int level, const char *formatStr,...) |
virtual int | ClearLogMem (int level) |
virtual int | ClearLogMemAll () |
virtual int | ClearAllLogs () |
virtual gStorage * | NewObject () |
virtual t_uchar * | ToString (t_uchar *uBuf) |
virtual bool | SaveGuts (FILE *f) |
virtual bool | RestoreGuts (FILE *f) |
Public Attributes | |
int | lastOpError |
int | dbgLevel |
Static Public Attributes | |
static int | nErrors [LOG_LOGMAX] |
static gList | lLog [LOG_LOGMAX] |
Protected Attributes | |
char | sStrError [200] |
Static Protected Attributes | |
static int | dbgLevelDefault = LOG_INFO |
static char | logBuf [4096] |
|
Definition at line 21 of file gcontrol.cpp. |
|
Definition at line 9 of file gcontrol.h. |
|
Definition at line 122 of file gcontrol.cpp. |
|
Definition at line 105 of file gcontrol.cpp. Referenced by ClearLogMemAll(). |
|
Definition at line 114 of file gcontrol.cpp. Referenced by ClearAllLogs(). |
|
Definition at line 23 of file gcontrol.h. Referenced by gHtmlParser::thisParse(). |
|
Definition at line 31 of file gcontrol.cpp. |
|
Reimplemented from gStorage. Reimplemented in gIpAddr, gHostAddr, and gTcpConnect. Definition at line 19 of file gcontrol.h. Referenced by gHSeq::thisCheck(), and gHSeq::thisFindRememberedBlock(). |
|
Definition at line 65 of file gcontrol.cpp. |
|
Reimplemented from gStorage. Reimplemented in gFileOut. Definition at line 32 of file gcontrol.h. |
|
Reimplemented from gStorage. Reimplemented in gFileOut. Definition at line 29 of file gcontrol.h. |
|
Implements gStorage. Reimplemented in gParamVal. Definition at line 128 of file gcontrol.cpp. |
|
Reimplemented from gStorage. Reimplemented in gHAttrList, and gIpAddr. Definition at line 36 of file gcontrol.cpp. Referenced by gIpAddr::Reset(), and gHAttrList::Reset(). |
|
Definition at line 41 of file gcontrol.cpp. |
|
Implements gStorage. Definition at line 61 of file gcontrol.h. |
|
Implements gStorage. Definition at line 58 of file gcontrol.h. |
|
Definition at line 41 of file gcontrol.h. |
|
Reimplemented from gStorage. Reimplemented in gHtmlParser. Definition at line 49 of file gcontrol.cpp. Referenced by gTcpConnect::Connect(), gControl(), gXHttpCont::GetContent(), gIpAddr::GetHostByName(), gTcpConnect::gTcpConnect(), gNetConnect::Read(), gHtmlParser::SetError(), gTcpConnect::thisConnect(), gIpAddr::thisGetHostByAddr(), and gNetConnect::Write(). |
|
Implements gStorage. Reimplemented in gParamVal, gIpAddr, and gTcpConnect. Definition at line 55 of file gcontrol.h. |
|
Definition at line 14 of file gcontrol.h. Referenced by Log(). |
|
Definition at line 12 of file gcontrol.cpp. Referenced by SetDefaultDbgLevel(). |
|
|
Definition at line 11 of file gcontrol.cpp. Referenced by ClearLogMem(), Log(), and ResetLog(). |
|
Definition at line 13 of file gcontrol.cpp. Referenced by Log(). |
|
Definition at line 10 of file gcontrol.cpp. Referenced by Log(), and ResetLog(). |
|
Definition at line 66 of file gcontrol.h. Referenced by GetErrorStr(), and SetError(). |