#include <gfile.h>
Inheritance diagram for gFileControl:
Public Member Functions | |
~gFileControl () | |
bool | IsOkChar (t_uchar c) |
bool | IsOkStrict (t_uchar c, bool isStrict) |
bool | IsOkPathname (char *s) |
int | CtrlGetTempPath (char *resPathStr) |
t_uint32 | CtrlGetPid () |
gString & | CtrlGetUserName () |
t_uint32 | GetCurrentEpoch () |
gString & | GetUniqueName (char *s) |
char * | ErrorStr (int aErrorNo) |
bool | IsTerminated () |
void | InitCharOnFile (t_uchar *s) |
bool | AddTempFile (gString &s) |
int | Init () |
int | End (bool doReportObjs=true) |
int | RemoveTemp (bool doReport=true) |
int | RemoveTemp (unsigned &nTemp, bool doReport) |
int | Release (bool doReport) |
t_int16 | IsSignaled (t_int16 iSignalId) |
t_int16 | SetSignaled (t_int16 iSignalId, t_int16 handled) |
t_int16 | SetSignaledByStr (char *shortStr, t_int16 handled) |
void | SignalHandler (int signalId) |
int | OnEventTerminate (int(*DoSomething)(int)) |
bool | Write (int fHandle, t_uchar *uBuf, unsigned nBytes) |
void | GetCwd (gString &s) |
int | NanoSleep (t_uint32 uSec, t_uint32 nSec) |
int | NanoSleep (t_uint32 nSec) |
int | SecSleep (t_uint32 aSec) |
int | MiliSecSleep (t_uint32 aSec) |
Static Public Member Functions | |
static gFileControl & | Self () |
Public Attributes | |
int | lastOpError |
short | isCharOnFile [256] |
short | charOnFileRelax |
char | tmpPath [300] |
char | tmpPrefix [10] |
char | tmpSuffix [10] |
t_uint16 | userId |
FILE * | fReport |
int | exitCodeOnSignal |
gList * | tempL |
Protected Member Functions | |
gFileControl () | |
int | thisInit () |
int | thisInitCharOnFile (bool doDefault) |
int | thisGetUniqueName (char *s, t_uint32 &aStamp, t_uint32 &aRand, gString &sRes) |
Protected Attributes | |
gString | sName |
gString | sUName |
|
|
|
|
|
|
|
Definition at line 134 of file gfile.cpp. Referenced by thisGetUniqueName(). |
|
Definition at line 118 of file gfile.cpp. Referenced by gFileControl(). |
|
|
|
|
|
|
|
Definition at line 144 of file gfile.cpp. Referenced by thisGetUniqueName(). |
|
|
|
|
|
|
|
Definition at line 451 of file gfile.cpp. Referenced by thisInitCharOnFile(). |
|
Definition at line 120 of file gfile.h. Referenced by IsOkPathname(), and IsOkStrict(). |
|
|
|
|
|
Definition at line 234 of file gfile.cpp. Referenced by thisInit(). |
|
|
|
Definition at line 404 of file gfile.cpp. Referenced by SecSleep(). |
|
|
|
Definition at line 368 of file gfile.cpp. Referenced by MiliSecSleep(), and NanoSleep(). |
|
|
|
Definition at line 202 of file gfile.cpp. Referenced by End(), and SignalHandler(). |
|
|
|
Definition at line 174 of file gfile.cpp. Referenced by Release(). |
|
|
|
Definition at line 103 of file gfile.h. Referenced by gFile::ErrorStr(), gFileTemp::gFileTemp(), gFileSysName::IsStrOk(), gXHttpGeneric::MiliSecSleep(), MySignalHandler(), gXHttpGeneric::SecSleep(), gFileTemp::thisOverwrite(), and gFileTemp::~gFileTemp(). |
|
|
|
|
|
|
|
Definition at line 510 of file gfile.cpp. Referenced by GetUniqueName(). |
|
Definition at line 423 of file gfile.cpp. Referenced by Init(). |
|
Definition at line 460 of file gfile.cpp. Referenced by InitCharOnFile(), and thisInit(). |
|
|
|
Definition at line 110 of file gfile.h. Referenced by IsOkStrict(), and thisInitCharOnFile(). |
|
Definition at line 116 of file gfile.h. Referenced by SignalHandler(). |
|
Definition at line 115 of file gfile.h. Referenced by RemoveTemp(), and SignalHandler(). |
|
Definition at line 109 of file gfile.h. Referenced by InitCharOnFile(), IsOkChar(), and thisInitCharOnFile(). |
|
Reimplemented from gControl. Definition at line 108 of file gfile.h. Referenced by GetCurrentEpoch(), GetCwd(), Release(), RemoveTemp(), and Write(). |
|
Definition at line 175 of file gfile.h. Referenced by GetUniqueName(), and thisGetUniqueName(). |
|
Definition at line 176 of file gfile.h. Referenced by CtrlGetUserName(), and gFileControl(). |
|
Definition at line 117 of file gfile.h. Referenced by AddTempFile(), gFileControl(), Release(), and RemoveTemp(). |
|
Definition at line 111 of file gfile.h. Referenced by gFileControl(), and thisGetUniqueName(). |
|
Definition at line 112 of file gfile.h. Referenced by gFileControl(), and thisGetUniqueName(). |
|
Definition at line 113 of file gfile.h. Referenced by gFileControl(), and thisGetUniqueName(). |
|
Definition at line 114 of file gfile.h. Referenced by gFileControl(), and thisGetUniqueName(). |