#include <msg.h>
Inheritance diagram for MessageBase:
Public Member Functions | |
MessageBase (void) | |
MessageBase (std::string msg) | |
MessageBase (const char *msgfmt,...) | |
virtual | ~MessageBase () |
const std::string & | getMessage (void) const |
void | setMessage (std::string msg) |
void | setNewline (bool prnl) |
const std::string | getNewline (void) const |
void | setMessage (const char *msgfmt,...) |
virtual void | printMessage (void) const =0 |
Protected Member Functions | |
std::string | compose (const char *msgfmt,...) const |
std::string | vcompose (const char *msgfmt, va_list ap) const |
Static Protected Attributes | |
const unsigned int | MsgMaxSize = 512 |
Private Attributes | |
std::string | Message |
bool | Newline |
|
|
|
|
|
|
|
|
|
|
|
|
|
return either "\n" or "" depending on wether this message should be followed by a newline or not |
|
Implemented in AssertionFailed, ArgError, NotImplementedError, CorruptDataError, Message, VerboseMessage, Warning, CriticalWarning, Question, and SteghideError. |
|
|
|
|
|
toggle newline printing on/off
|
|
|
|
|
|
|
|
|