output stream that writes into a plain file
More...
|
| DcmOutputFileStream (const char *filename) |
| constructor
|
|
| DcmOutputFileStream (FILE *file) |
| constructor
|
|
virtual | ~DcmOutputFileStream () |
| destructor
|
|
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 offile_off_t | avail () const |
| 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) |
| 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 offile_off_t | 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.
|
|
output stream that writes into a plain file
Definition at line 118 of file dcostrmf.h.
DcmOutputFileStream::DcmOutputFileStream |
( |
const char * |
filename | ) |
|
constructor
- Parameters
-
filename | name of file to be created, must not be NULL or empty |
DcmOutputFileStream::DcmOutputFileStream |
( |
FILE * |
file | ) |
|
constructor
- Parameters
-
file | structure, file must already be open for writing |
The documentation for this class was generated from the following file: