NAME
OTC_TraceBuf -
Streambuf which does work of indenting trace information.
SYNOPSIS
#include <OTC/debug/trcebuf.hh>
class OTC_TraceBuf : public streambuf
{
public:
~OTC_TraceBuf();
OTC_TraceBuf(OTC_TraceStream* theStream);
int sync();
protected:
streambuf* setbuf(char* theBuffer, int theSize);
int overflow(int c);
int underflow();
};
CLASS TYPE
Concrete
DESCRIPTION
The OTC_TraceBuf does the real work of collecting the
trace information and indenting it when displayed.
INITIALISATION
OTC_TraceBuf(OTC_TraceStream* theStream);
theStream should be the instance
of OTC_TraceStream this class is
being held by.
SEE ALSO
OTC_Tracer
LIBRARY
OTC
AUTHOR(S)
Graham Dumpleton
COPYRIGHT
Copyright 1994 TELSTRA CORPORATION LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED