MessageBase Class Reference
#include <msg.h>
List of all members.
Constructor & Destructor Documentation
MessageBase::MessageBase |
( |
void |
|
) |
|
MessageBase::MessageBase |
( |
std::string |
msg |
) |
|
MessageBase::MessageBase |
( |
const char * |
msgfmt, |
|
|
|
... | |
|
) |
| | |
virtual MessageBase::~MessageBase |
( |
|
) |
[inline, virtual] |
Member Function Documentation
std::string MessageBase::compose |
( |
const char * |
msgfmt, |
|
|
|
... | |
|
) |
| | const [protected] |
const std::string& MessageBase::getMessage |
( |
void |
|
) |
const [inline] |
const std::string MessageBase::getNewline |
( |
void |
|
) |
const [inline] |
return either "\n" or "" depending on wether this message should be followed by a newline or not
virtual void MessageBase::printMessage |
( |
void |
|
) |
const [pure virtual] |
void MessageBase::setMessage |
( |
const char * |
msgfmt, |
|
|
|
... | |
|
) |
| | |
void MessageBase::setMessage |
( |
std::string |
msg |
) |
[inline] |
void MessageBase::setNewline |
( |
bool |
prnl |
) |
[inline] |
toggle newline printing on/off
- Parameters:
-
| prnl | wether to print a newline character after the message |
std::string MessageBase::vcompose |
( |
const char * |
msgfmt, |
|
|
va_list |
ap | |
|
) |
| | const [protected] |
Member Data Documentation
The documentation for this class was generated from the following files: