Inheritance diagram for DcmOutputStream:
Public Member Functions | |
virtual | ~DcmOutputStream () |
destructor | |
virtual OFBool | good () const |
returns the status of the stream. | |
virtual OFCondition | status () const |
returns the status of the consumer as an OFCondition object. | |
virtual OFBool | isFlushed () const |
returns true if the stream is flushed, i.e. | |
virtual Uint32 | avail () const |
returns the minimum number of bytes that can be written with the next call to write(). | |
virtual Uint32 | write (const void *buf, Uint32 buflen) |
processes as many bytes as possible from the given input block. | |
virtual void | flush () |
instructs the stream to flush its internal content until either the stream becomes "flushed" or I/O suspension occurs. | |
virtual Uint32 | tell () const |
returns the total number of bytes written to the stream so far | |
virtual OFCondition | installCompressionFilter (E_StreamCompression filterType) |
installs a compression filter for the given stream compression type, which should be neither ESC_none nor ESC_unsupported. | |
Protected Member Functions | |
DcmOutputStream (DcmConsumer *initial) | |
protected constructor, to be called from derived class constructor | |
Private Member Functions | |
DcmOutputStream (const DcmOutputStream &) | |
private unimplemented copy constructor | |
DcmOutputStream & | operator= (const DcmOutputStream &) |
private unimplemented copy assignment operator | |
Private Attributes | |
DcmConsumer * | current_ |
pointer to first node in filter chain | |
DcmOutputFilter * | compressionFilter_ |
pointer to compression filter, NULL if no compression | |
Uint32 | tell_ |
counter for number of bytes written so far |
This class cannot be instantiated since the constructor is protected.
Definition at line 124 of file dcostrma.h.
|
protected constructor, to be called from derived class constructor
|
|
returns the minimum number of bytes that can be written with the next call to write(). The DcmObject write methods rely on avail to return a value > 0 if there is no I/O suspension since certain data such as tag and length are only written "en bloc", i.e. all or nothing.
|
|
instructs the stream to flush its internal content until either the stream becomes "flushed" or I/O suspension occurs. After a call to flush(), a call to write() will produce undefined behaviour. |
|
returns the status of the stream. Unless the status is good, the stream will not permit any operation.
|
|
installs a compression filter for the given stream compression type, which should be neither ESC_none nor ESC_unsupported. Once a compression filter is active, it cannot be deactivated or replaced during the lifetime of the stream.
|
|
returns true if the stream is flushed, i.e. has no more data pending in it's internal state that needs to be flushed before the stream is closed.
|
|
returns the status of the consumer as an OFCondition object. Unless the status is good, the consumer will not permit any operation.
|
|
returns the total number of bytes written to the stream so far
|
|
processes as many bytes as possible from the given input block.
|