|
GDCM 3.0.24
|
#include <gdcmTrace.h>
Public Member Functions | |
| Trace () | |
| ~Trace () | |
Static Public Member Functions | |
| static void | DebugOff () |
| static void | DebugOn () |
| static void | ErrorOff () |
| static void | ErrorOn () |
| static bool | GetDebugFlag () |
| static std::ostream & | GetDebugStream () |
| static bool | GetErrorFlag () |
| static std::ostream & | GetErrorStream () |
| static std::ostream & | GetStream () |
| static bool | GetWarningFlag () |
| static std::ostream & | GetWarningStream () |
| static void | SetDebug (bool debug) |
| Turn debug messages on (default: false) | |
| static void | SetDebugStream (std::ostream &os) |
| Explicitly set the stream which receive Debug messages: | |
| static void | SetError (bool debug) |
| Turn error messages on (default: true) | |
| static void | SetErrorStream (std::ostream &os) |
| Explicitly set the stream which receive Error messages: | |
| static void | SetStream (std::ostream &os) |
| static void | SetStreamToFile (const char *filename) |
| static void | SetWarning (bool debug) |
| Turn warning messages on (default: true) | |
| static void | SetWarningStream (std::ostream &os) |
| Explicitly set the stream which receive Warning messages: | |
| static void | WarningOff () |
| static void | WarningOn () |
Debug / Warning and Error are encapsulated in this class by default the Trace class will redirect any debug/warning/error to std::cerr. Unless SetStream was specified with another (open) stream or SetStreamToFile was specified to a writable file on the system.
| gdcm::Trace::Trace | ( | ) |
| gdcm::Trace::~Trace | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Turn debug messages on (default: false)
|
static |
Explicitly set the stream which receive Debug messages:
|
static |
Turn error messages on (default: true)
|
static |
Explicitly set the stream which receive Error messages:
|
static |
Explicitly set the ostream for gdcm::Trace to report to This will set the DebugStream, WarningStream and ErrorStream at once:
|
static |
Explicitly set the filename for gdcm::Trace to report to The file will be created (it will not append to existing file)
|
static |
Turn warning messages on (default: true)
|
static |
Explicitly set the stream which receive Warning messages:
|
static |
|
static |