class DebugStream

Class used to manipulate the debug output

Public Methods

void setStream(ostream *o)
Set the debug stream
void setStream(const char *filename)
Open the file specified by the string filename and set it as a debug stream
void enable(const string &s)
Enable the output for a certain debug level
void disable(const string &s)
Disable the output for a certain debug level
void enter(const string &s)
Enters in the specified debug level
void enter(const string &s, const string &header)
Enters in the specified debug level and output the header string
void exit()
Exits from the current debug level

Documentation

Class used to manipulate the debug output.
void setStream(ostream *o)
Set the debug stream

void setStream(const char *filename)
Open the file specified by the string filename and set it as a debug stream.

void enable(const string &s)
Enable the output for a certain debug level
Parameters:
s - String that identifies the debug level.

void disable(const string &s)
Disable the output for a certain debug level
Parameters:
s - String that identifies the debug level.

void enter(const string &s)
Enters in the specified debug level. From this point until the next call to enter(), every output on the debug stream is considered belonging to the current debug level.

void enter(const string &s, const string &header)
Enters in the specified debug level and output the header string. From this point until the next call to enter(), every output on the debug stream is considered in the the current debug level.

void exit()
Exits from the current debug level


This class has no child classes.
Author:
Giuseppe Lipari
Version:
1.0

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de