ESyS-Particle
4.0.1
|
Handle message ouput on the console. More...
#include <console.h>
Public Types | |
enum | VerboseLevel { all = 0, dbg, info, msg, warning, err, critical, silent } |
Public Member Functions | |
BasicCon (ostream *Ios) | |
void | SetQuiet (bool Q) |
void | SetTiming (bool T) |
virtual void | flush () |
virtual void | SetOStream (ostream *Ios) |
BasicCon & | Message (bool h=true) |
set verbose level of next message to "msg" | |
BasicCon & | Error (bool h=true) |
set verbose level of next message to "err" | |
BasicCon & | Warning (bool h=true) |
set verbose level of next message to "wrn" | |
BasicCon & | Critical (bool h=true) |
set verbose level of next message to "crt" | |
BasicCon & | Info (bool h=true) |
set verbose level of next message to "inf" | |
BasicCon & | Debug (bool h=true) |
set verbose level of next message to "dbg" | |
BasicCon & | XDebug (bool h=true) |
set verbose level of next message to "xdg" | |
BasicCon & | Timing (bool h=true) |
set verbose level of next message to "tme" | |
BasicCon & | operator<< (const char *s) |
BasicCon & | operator<< (char s) |
BasicCon & | operator<< (short s) |
BasicCon & | operator<< (int s) |
BasicCon & | operator<< (long s) |
BasicCon & | operator<< (float s) |
BasicCon & | operator<< (double s) |
BasicCon & | operator<< (unsigned char s) |
BasicCon & | operator<< (unsigned short s) |
BasicCon & | operator<< (unsigned int s) |
BasicCon & | operator<< (unsigned long s) |
BasicCon & | operator<< (void *s) |
BasicCon & | operator<< (Vec3 s) |
BasicCon & | operator<< (const Matrix3 &) |
BasicCon & | operator<< (CCounter &s) |
BasicCon & | operator<< (CCounterList &s) |
BasicCon & | operator<< (const string &) |
Static Public Member Functions | |
static void | SetVerbose (int vl=all) |
set verbose level | |
static int | GetVerbose () |
Protected Member Functions | |
virtual void | process (ostringstream *str_os) |
virtual void | show (char *level, bool h) |
Protected Attributes | |
char * | CurBuffer |
buffer for output & process | |
ostream * | os |
Output stream (cout usually) |
Static Protected Attributes | |
static int | VLevel = Con::info |
current verbose level | |
static bool | mute = false |
static bool | quiet = false |
flag to mute console (loats output) or quiet console | |
static bool | timing = false |
Handle message ouput on the console.
|
protectedvirtual |
|
protectedvirtual |