BOSS 7.0.9
BESIII Offline Software System
|
Default Issue display. More...
#include <DefaultStream.h>
Public Member Functions | |
DefaultStream (bool verbose=false) | |
~DefaultStream () | |
void | send (const Issue *ptr) |
Public Member Functions inherited from ers::Stream | |
Stream () | |
Stream (const Stream &other) | |
operator std::string () const | |
virtual | ~Stream () |
virtual void | send (const Issue *i) |
Sends an issue into the stream. | |
virtual Issue * | receive () |
Receives an issue from the stream. | |
virtual void | print_to (std::ostream &stream) const |
Static Public Attributes | |
static const char *const | KEY = "default" |
static const char *const | VERBOSE_KEY = "verbose" |
Static Public Attributes inherited from ers::Stream | |
static const char *const | NULL_STREAM_KEY = "null" |
Protected Attributes | |
bool | m_verbose |
Default Issue display.
This class displas an Issue on the standard error stream This class is meant to be used as default stream for simple on screen display. More advanced streams are offered in the System
package This stream only sends output to the standard error stream. To select this stream, simply use the default
string key. You can get a verbose output by
Definition at line 28 of file DefaultStream.h.
Definition at line 32 of file DefaultStream.cxx.
ers::DefaultStream::~DefaultStream | ( | ) |
Definition at line 37 of file DefaultStream.cxx.
|
virtual |
We print the stream in a semi-tabbed mode. The message is first printed out, then a list of all properties.
issue_ptr | reference to the issue to print |
Reimplemented from ers::Stream.
Definition at line 45 of file DefaultStream.cxx.
|
static |
The key for this stream is default
the URI field is ignored
Definition at line 32 of file DefaultStream.h.
Referenced by ers::StreamFactory::key_for_severity().
|
protected |
Definition at line 30 of file DefaultStream.h.
Referenced by DefaultStream().
|
static |
Definition at line 33 of file DefaultStream.h.