DCMTK  Version 3.6.7
OFFIS DICOM Toolkit
Public Member Functions | List of all members
DcmOutputFilter Class Referenceabstract

pure virtual abstract base class for output filters, i.e. More...

+ Inheritance diagram for DcmOutputFilter:

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...
 
- Public Member Functions inherited from DcmConsumer
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...
 

Detailed Description

pure virtual abstract base class for output filters, i.e.

intermediate nodes of a filter chain in an output stream.

Member Function Documentation

◆ append()

virtual void DcmOutputFilter::append ( DcmConsumer consumer)
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.

Parameters
consumerreference to consumer, must not be circular chain

Implemented in DcmZLibOutputFilter.


The documentation for this class was generated from the following file:


Generated on Thu Apr 28 2022 for DCMTK Version 3.6.7 by Doxygen 1.9.1