SHOGUN
4.2.0
|
Go to the source code of this file.
Classes | |
struct | substring |
struct Substring, specified by start position and end position. More... | |
class | SGIO |
Class SGIO, used to do input output operations throughout shogun. More... | |
Macros | |
#define | NUM_LOG_LEVELS 10 |
#define | FBUFSIZE 4096 |
#define | CONST_DIRENT_T const struct dirent |
#define | SG_SET_LOCALE_C setlocale(LC_ALL, "C") |
#define | SG_RESET_LOCALE setlocale(LC_ALL, "") |
#define | SG_UNLIKELY(expr) expr |
#define | SG_GCDEBUG(...) |
#define | SG_DEBUG(...) |
#define | SG_OBJ_DEBUG(o,...) |
#define | SG_INFO(...) |
#define | SG_CLASS_INFO(c,...) |
#define | SG_WARNING(...) { io->message(MSG_WARN, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_ERROR(...) { io->message(MSG_ERROR, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_OBJ_ERROR(o,...) { o->io->message(MSG_ERROR, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_CLASS_ERROR(c,...) { c::io->message(MSG_ERROR, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_UNSTABLE(func,...) |
#define | SG_PRINT(...) { io->message(MSG_MESSAGEONLY, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_OBJ_PRINT(o,...) { o->io->message(MSG_MESSAGEONLY, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_NOTIMPLEMENTED { io->not_implemented(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define | SG_DEPRECATED { io->deprecated(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define | SG_PROGRESS(...) |
#define | SG_OBJ_PROGRESS(o,...) |
#define | SG_ABS_PROGRESS(...) |
#define | SG_DONE() |
#define | SG_SGCDEBUG(...) |
#define | SG_SDEBUG(...) |
#define | SG_SINFO(...) |
#define | SG_SWARNING(...) { sg_io->message(MSG_WARN,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_SERROR(...) { sg_io->message(MSG_ERROR,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_SPRINT(...) { sg_io->message(MSG_MESSAGEONLY,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define | SG_SPROGRESS(...) |
#define | SG_SABS_PROGRESS(...) |
#define | SG_SDONE() |
#define | SG_SNOTIMPLEMENTED { sg_io->not_implemented(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define | SG_SDEPRECATED { sg_io->deprecated(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define | ASSERT(x) |
#define | REQUIRE(x,...) |
Enumerations | |
enum | EMessageType { MSG_GCDEBUG =0, MSG_DEBUG =1, MSG_INFO =2, MSG_NOTICE =3, MSG_WARN =4, MSG_ERROR =5, MSG_CRITICAL =6, MSG_ALERT =7, MSG_EMERGENCY =8, MSG_MESSAGEONLY =9 } |
enum | EMessageLocation { MSG_NONE =0, MSG_FUNCTION =1, MSG_LINE_AND_FILE =2 } |
#define ASSERT | ( | x | ) |
#define REQUIRE | ( | x, | |
... | |||
) |
#define SG_ABS_PROGRESS | ( | ... | ) |
#define SG_CLASS_ERROR | ( | c, | |
... | |||
) | { c::io->message(MSG_ERROR, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_CLASS_INFO | ( | c, | |
... | |||
) |
#define SG_DEBUG | ( | ... | ) |
#define SG_DEPRECATED { io->deprecated(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define SG_DONE | ( | ) |
#define SG_ERROR | ( | ... | ) | { io->message(MSG_ERROR, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_GCDEBUG | ( | ... | ) |
#define SG_INFO | ( | ... | ) |
#define SG_NOTIMPLEMENTED { io->not_implemented(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define SG_OBJ_DEBUG | ( | o, | |
... | |||
) |
#define SG_OBJ_ERROR | ( | o, | |
... | |||
) | { o->io->message(MSG_ERROR, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_OBJ_PRINT | ( | o, | |
... | |||
) | { o->io->message(MSG_MESSAGEONLY, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_OBJ_PROGRESS | ( | o, | |
... | |||
) |
#define SG_PRINT | ( | ... | ) | { io->message(MSG_MESSAGEONLY, __PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_PROGRESS | ( | ... | ) |
#define SG_SABS_PROGRESS | ( | ... | ) |
#define SG_SDEBUG | ( | ... | ) |
#define SG_SDEPRECATED { sg_io->deprecated(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define SG_SDONE | ( | ) |
#define SG_SERROR | ( | ... | ) | { sg_io->message(MSG_ERROR,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_SGCDEBUG | ( | ... | ) |
#define SG_SINFO | ( | ... | ) |
#define SG_SNOTIMPLEMENTED { sg_io->not_implemented(__PRETTY_FUNCTION__, __FILE__, __LINE__); } |
#define SG_SPRINT | ( | ... | ) | { sg_io->message(MSG_MESSAGEONLY,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_SPROGRESS | ( | ... | ) |
#define SG_SWARNING | ( | ... | ) | { sg_io->message(MSG_WARN,__PRETTY_FUNCTION__, __FILE__, __LINE__, __VA_ARGS__); } |
#define SG_UNSTABLE | ( | func, | |
... | |||
) |