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__);} |
Enumerations | |
| enum | EMessageType { M_DEBUG, M_INFO, M_NOTICE, M_WARN, M_ERROR, M_CRITICAL, M_ALERT, M_EMERGENCY, M_MESSAGEONLY } |
Variables | |
| char | file_buffer [FBUFSIZE] |
| file name buffer | |
| char | directory_name [FBUFSIZE] |
| directory name buffer | |
| CIO | sg_io |
| #define ASSERT | ( | x | ) | { if (!(x)) SG_SERROR("assertion %s failed in file %s line %d\n",#x, __FILE__, __LINE__);} |
| #define SG_ABS_PROGRESS | ( | x... | ) | CSGObject::io.absolute_progress(x) |
| #define SG_PRINT | ( | x... | ) | CSGObject::io.message(M_MESSAGEONLY,x) |
| enum EMessageType |
The io libs output [DEBUG] etc in front of every message 'higher' messages filter output depending on the loglevel, i.e. CRITICAL messages will print all M_CRITICAL TO M_EMERGENCY messages to
| char directory_name[FBUFSIZE] |
| char file_buffer[FBUFSIZE] |
Definition at line 13 of file SGObject.cpp.