Inheritance diagram for DcmOutputBufferStream:
Public Member Functions | |
DcmOutputBufferStream (void *buf, offile_off_t bufLen) | |
constructor | |
virtual | ~DcmOutputBufferStream () |
destructor | |
virtual void | flushBuffer (void *&buffer, offile_off_t &length) |
retrieves and flushes the underlying buffer. | |
Private Member Functions | |
DcmOutputBufferStream (const DcmOutputBufferStream &) | |
private unimplemented copy constructor | |
DcmOutputBufferStream & | operator= (const DcmOutputBufferStream &) |
private unimplemented copy assignment operator | |
Private Attributes | |
DcmBufferConsumer | consumer_ |
the final consumer of the filter chain |
Definition at line 129 of file dcostrmb.h.
DcmOutputBufferStream::DcmOutputBufferStream | ( | void * | buf, | |
offile_off_t | bufLen | |||
) |
constructor
buf | buffer in which data is stored. Must be allocated by caller and remain valid during the lifetime of this object. | |
bufLen | buffer length, must be even number > 0. |
virtual void DcmOutputBufferStream::flushBuffer | ( | void *& | buffer, | |
offile_off_t & | length | |||
) | [virtual] |
retrieves and flushes the underlying buffer.
After return of this method, the buffer is considered to have been flushed (copied, stored) by the caller and is reused by the next write operation.
buffer | pointer to user provided buffer returned in this parameter | |
length | number of bytes in buffer returned in this parameter |