Buffers data output by a DtBufferPrinter.
More...
Detailed Description
Buffers data output by a DtBufferPrinter.
A DtPrinterBuf is used by a DtBufferPrinter to store any data output by attached output streams.
Constructor & Destructor Documentation
| DtPrinterBuf::DtPrinterBuf |
( |
| ) |
|
| virtual DtPrinterBuf::~DtPrinterBuf |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void DtPrinterBuf::clearBuffer |
( |
| ) |
|
|
virtual |
| virtual void DtPrinterBuf::copyBufferToList |
( |
DtLogEntryList & |
destList | ) |
const |
|
virtual |
Copies the buffer into the specified list of entries.
| virtual const DtLogEntry* DtPrinterBuf::readNext |
( |
| ) |
|
|
virtual |
Returns a pointer to the next entry to be read.
Please note that the previous entry which was read will be deleted at this time.
| virtual void DtPrinterBuf::setMaxEntries |
( |
int |
max | ) |
|
|
virtual |
Sets the maximum number of entries. Negative indicates no limit.
| virtual void DtPrinterBuf::write |
( |
const std::string & |
st, |
|
|
MAKRti::DtNotifyLevelType |
level |
|
) |
| |
|
virtual |
Writes the given string and notification level to the buffer.
| virtual void DtPrinterBuf::writeBufferToOutputStreams |
( |
| ) |
const |
|
virtual |
Writes the entire contents of the current buffer to the MAKRti::DtOutputStreams.
Member Data Documentation
The complete buffer is stored as a list of strings and notification levels.
The entry being processed.
| int DtPrinterBuf::myMaxEntries |
|
protected |
The maximum number of entries. Negative indicates no limit.
The documentation for this class was generated from the following file: