SemiDebug Class Reference
This class is used to output debugging information either to standard output or to a specified file. More...
#include <SemiGlobals.hpp>
Public Member Functions | |
SemiDebug (char *logfilename=NULL) | |
default constructor | |
~SemiDebug () | |
default destructor | |
void | enableStdOut () |
enable output of messages to standard-output | |
void | enableFlush () |
enable immediate output of messages | |
void | doFlush () |
flush messages in output. | |
void | writeLogfile () |
write all messages in vector to the output-file and close it | |
void | writeTimestamp (char *str) |
write the current timestamp to the output-file | |
SemiDebug & | operator<< (unsigned int n) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (int n) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (long n) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (unsigned long n) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (float f) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (double d) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (char c) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (char *str) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (const char *str) |
convert the parameter to a string and push it to the vector. | |
SemiDebug & | operator<< (string &str) |
convert the parameter to a string and push it to the vector. |
Detailed Description
This class is used to output debugging information either to standard output or to a specified file.
- Author:
- Klaus Schoeffmann
Definition at line 316 of file SemiGlobals.hpp.
Member Function Documentation
|
flush messages in output. Thereby all messages will be written immediately to the output-file (and to standard-output) Definition at line 77 of file SemiGlobals.cpp. Referenced by operator<<(), and writeTimestamp().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush(), and semifunc::replaceStr().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush(), and semifunc::replaceStr().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush().
|
|
convert the parameter to a string and push it to the vector. if the flag stdOutEnabled is set, also output parameter to standard-out.
References doFlush().
|
The documentation for this class was generated from the following files: