DCMTK
Version 3.6.7
OFFIS DICOM Toolkit
|
pure virtual abstract base class for output filters, i.e. More...
Public Member Functions | |
virtual | ~DcmOutputFilter () |
destructor | |
virtual void | append (DcmConsumer &consumer)=0 |
determines the consumer to which the filter is supposed to write it's output. More... | |
![]() | |
virtual | ~DcmConsumer () |
destructor | |
virtual OFBool | good () const =0 |
returns the status of the consumer. More... | |
virtual OFCondition | status () const =0 |
returns the status of the consumer as an OFCondition object. More... | |
virtual OFBool | isFlushed () const =0 |
returns true if the consumer is flushed, i.e. More... | |
virtual offile_off_t | avail () const =0 |
returns the minimum number of bytes that can be written with the next call to write(). More... | |
virtual offile_off_t | write (const void *buf, offile_off_t buflen)=0 |
processes as many bytes as possible from the given input block. More... | |
virtual void | flush ()=0 |
instructs the consumer to flush its internal content until either the consumer becomes "flushed" or I/O suspension occurs. More... | |
pure virtual abstract base class for output filters, i.e.
intermediate nodes of a filter chain in an output stream.
|
pure virtual |
determines the consumer to which the filter is supposed to write it's output.
Once a consumer for the output filter has been defined, it cannot be changed anymore during the lifetime of the object.
consumer | reference to consumer, must not be circular chain |
Implemented in DcmZLibOutputFilter.