OFFIS DCMTK  Version 3.6.0
Public Member Functions
DcmOutputFilter Class Reference

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

Inheritance diagram for DcmOutputFilter:
[legend]
Collaboration diagram for DcmOutputFilter:
[legend]

List of all members.

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.
- Public Member Functions inherited from DcmConsumer
virtual ~DcmConsumer ()
 destructor
virtual OFBool good () const =0
 returns the status of the consumer.
virtual OFCondition status () const =0
 returns the status of the consumer as an OFCondition object.
virtual OFBool isFlushed () const =0
 returns true if the consumer is flushed, i.e.
virtual offile_off_t avail () const =0
 returns the minimum number of bytes that can be written with the next call to write().
virtual offile_off_t write (const void *buf, offile_off_t buflen)=0
 processes as many bytes as possible from the given input block.
virtual void flush ()=0
 instructs the consumer to flush its internal content until either the consumer becomes "flushed" or I/O suspension occurs.

Detailed Description

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

intermediate nodes of a filter chain in an output stream.

Definition at line 97 of file dcostrma.h.


Member Function Documentation

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 May 31 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.1