#include <commentator.h>
Public Member Functions | |
MessageClass (const Commentator &comm, const char *msg_class, std::ostream &stream, unsigned long max_depth=1, unsigned long max_level=2) | |
MessageClass (const MessageClass &message_class) | |
void | setMaxDepth (long depth) |
void | setMaxDetailLevel (long level) |
void | setPrintParameters (unsigned long depth, unsigned long level, const char *fn) |
bool | isPrinted (unsigned long depth, unsigned long level, const char *fn=(const char *) 0) |
|
Constructor Constructs a new MessageClass object with the given type, outputing to the given stream. All other parameters are set to factory defaults.
|
|
Copy constructor |
|
Set maximum message depth Sets the maximum activity depth, as defined by Commentator::start and Commentator::stop, at which messages of this class will be printed.
|
|
Set maximum detail level Sets the maximum detail level at which to print messages
|
|
Precise control over printing Specifies that all messages up to the given depth and the given activity level should be printed
|
|
Determine whether a given message will be printed when of this message class
|