#include <OTC/debug/trcestrm.hh> class OTC_TraceStream : public ostream {
public:
~OTC_TraceStream();
OTC_TraceStream();
long level();
};
OTC_TraceStream
is a specialised streams class which
provides the ability to indent information passed through the
stream. This ability is used in conjunction with the OTC_Tracer
class, to indent trace messages with a marked scope such as a
function.
Two manipulators are available if explicit indenting of trace
input is required. These are OTCLIB_TRACEIN
and
OTCLIB_TRACEOUT
. The first causes indenting to be increased, the
second for it to be decreased.
long level();
OTC_Tracer