Inheritance diagram for lfc::BufferedOutput::

Public Methods | |
| BufferedOutput (_Output< TYPE > &rOutputBase, long bufferSize=DEFAULT_BUFFER_SIZE) | |
| ~BufferedOutput () throw () | |
| virtual void | setBufferSize (long bufferSize) |
| Sets the size of the buffer to be used. More... | |
| virtual long | bufferSize () const throw () |
| |
| virtual long | write (const TYPE *buffer, long count, bool ignored=true) |
| Writes to the buffered stream. More... | |
| virtual void | flush () |
| Flushes the output. More... | |
| virtual void | push (const TYPE &value) |
| Pushes a single element of TYPE onto the stream. More... | |
| virtual void | resetOutput () |
| \brief Resets output for this stream. More... | |
Static Public Attributes | |
| const long | DEFAULT_BUFFER_SIZE = 1024L |
| the default buffer size. More... | |
Protected Methods | |
| virtual void | writeToBases () |
| Does the job of writing to the underlying streams. More... | |
Protected Attributes | |
| TYPE * | m_buffer |
| the actual buffer. More... | |
| long | m_bufferSize |
| its size. More... | |
| long | m_bufferUse |
| how much has been written into the buffer. More... | |
flush() is called before a BufferedOutput object is destroyed.
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
Sets the size of the buffer to be used. This flushes the remaining data before creating the new buffer.
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
Writes to the buffered stream.
Reimplemented from lfc::_Output. |
|
|||||||||
|
Flushes the output.
Reimplemented from lfc::_Output. |
|
||||||||||
|
Pushes a single element of TYPE onto the stream.
Reimplemented from lfc::_Output. |
|
|||||||||
|
\brief Resets output for this stream.
Reimplemented from lfc::_Output. |
|
|||||||||
|
Does the job of writing to the underlying streams.
|
|
|||||
|
the default buffer size.
|
|
|||||
|
the actual buffer.
|
|
|||||
|
its size.
|
|
|||||
|
how much has been written into the buffer.
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001