io.h File Reference
Go to the source code of this file.
|
Classes |
class | CIO |
Defines |
#define | NUM_LOG_LEVELS 9 |
#define | FBUFSIZE 4096 |
#define | CONST_DIRENT_T const struct dirent |
#define | SG_DEBUG(x...) CSGObject::io.message(M_DEBUG,x) |
#define | SG_INFO(x...) CSGObject::io.message(M_INFO,x) |
#define | SG_WARNING(x...) CSGObject::io.message(M_WARN,x) |
#define | SG_ERROR(x...) CSGObject::io.message(M_ERROR,x) |
#define | SG_PRINT(x...) CSGObject::io.message(M_MESSAGEONLY,x) |
#define | SG_NOTIMPLEMENTED CSGObject::io.not_implemented() |
#define | SG_PROGRESS(x...) CSGObject::io.progress(x) |
#define | SG_ABS_PROGRESS(x...) CSGObject::io.absolute_progress(x) |
#define | SG_DONE() CSGObject::io.done() |
#define | SG_SDEBUG(x...) sg_io->message(M_DEBUG,x) |
#define | SG_SINFO(x...) sg_io->message(M_INFO,x) |
#define | SG_SWARNING(x...) sg_io->message(M_WARN,x) |
#define | SG_SERROR(x...) sg_io->message(M_ERROR,x) |
#define | SG_SPRINT(x...) sg_io->message(M_MESSAGEONLY,x) |
#define | SG_SPROGRESS(x...) sg_io->progress(x) |
#define | SG_SABS_PROGRESS(x...) sg_io->absolute_progress(x) |
#define | SG_SDONE() sg_io->done() |
#define | SG_SNOTIMPLEMENTED sg_io->not_implemented() |
#define | ASSERT(x) { if (!(x)) SG_SERROR("assertion %s failed in file %s line %d\n",#x, __FILE__, __LINE__);} |
Variables |
CHAR | file_buffer [FBUFSIZE] |
| file name buffer
|
CHAR | directory_name [FBUFSIZE] |
| directory name buffer
|
CIO * | sg_io |
Define Documentation
#define ASSERT |
( |
x |
|
) |
{ if (!(x)) SG_SERROR("assertion %s failed in file %s line %d\n",#x, __FILE__, __LINE__);} |
Definition at line 75 of file io.h.
#define CONST_DIRENT_T const struct dirent |
Definition at line 28 of file io.h.
Definition at line 23 of file io.h.
Definition at line 22 of file io.h.
#define SG_ABS_PROGRESS |
( |
x... |
|
) |
CSGObject::io.absolute_progress(x) |
Definition at line 46 of file io.h.
#define SG_DEBUG |
( |
x... |
|
) |
CSGObject::io.message(M_DEBUG,x) |
Definition at line 38 of file io.h.
#define SG_DONE |
( |
|
) |
CSGObject::io.done() |
Definition at line 47 of file io.h.
#define SG_ERROR |
( |
x... |
|
) |
CSGObject::io.message(M_ERROR,x) |
Definition at line 41 of file io.h.
#define SG_INFO |
( |
x... |
|
) |
CSGObject::io.message(M_INFO,x) |
Definition at line 39 of file io.h.
#define SG_NOTIMPLEMENTED CSGObject::io.not_implemented() |
Definition at line 43 of file io.h.
#define SG_PRINT |
( |
x... |
|
) |
CSGObject::io.message(M_MESSAGEONLY,x) |
Definition at line 42 of file io.h.
#define SG_PROGRESS |
( |
x... |
|
) |
CSGObject::io.progress(x) |
Definition at line 45 of file io.h.
#define SG_SABS_PROGRESS |
( |
x... |
|
) |
sg_io->absolute_progress(x) |
Definition at line 58 of file io.h.
#define SG_SDEBUG |
( |
x... |
|
) |
sg_io->message(M_DEBUG,x) |
Definition at line 52 of file io.h.
#define SG_SDONE |
( |
|
) |
sg_io->done() |
Definition at line 59 of file io.h.
#define SG_SERROR |
( |
x... |
|
) |
sg_io->message(M_ERROR,x) |
Definition at line 55 of file io.h.
#define SG_SINFO |
( |
x... |
|
) |
sg_io->message(M_INFO,x) |
Definition at line 53 of file io.h.
#define SG_SNOTIMPLEMENTED sg_io->not_implemented() |
Definition at line 60 of file io.h.
#define SG_SPRINT |
( |
x... |
|
) |
sg_io->message(M_MESSAGEONLY,x) |
Definition at line 56 of file io.h.
#define SG_SPROGRESS |
( |
x... |
|
) |
sg_io->progress(x) |
Definition at line 57 of file io.h.
#define SG_SWARNING |
( |
x... |
|
) |
sg_io->message(M_WARN,x) |
Definition at line 54 of file io.h.
#define SG_WARNING |
( |
x... |
|
) |
CSGObject::io.message(M_WARN,x) |
Definition at line 40 of file io.h.
Variable Documentation
directory name buffer
Definition at line 42 of file io.cpp.
file name buffer
Definition at line 39 of file io.cpp.