OFFIS DCMTK
Version 3.6.0
|
input stream that reads from a plain file More...
Public Member Functions | |
DcmInputFileStream (const char *filename, offile_off_t offset=0) | |
constructor | |
virtual | ~DcmInputFileStream () |
destructor | |
virtual DcmInputStreamFactory * | newFactory () const |
creates a new factory object for the current stream and stream position. | |
Private Member Functions | |
DcmInputFileStream (const DcmInputFileStream &) | |
private unimplemented copy constructor | |
DcmInputFileStream & | operator= (const DcmInputFileStream &) |
private unimplemented copy assignment operator | |
Private Attributes | |
DcmFileProducer | producer_ |
the final producer of the filter chain | |
OFString | filename_ |
filename |
input stream that reads from a plain file
Definition at line 162 of file dcistrmf.h.
DcmInputFileStream::DcmInputFileStream | ( | const char * | filename, |
offile_off_t | offset = 0 |
||
) |
constructor
filename | name of file to be opened, must not be NULL or empty |
offset | byte offset to skip from the start of file |
virtual DcmInputStreamFactory* DcmInputFileStream::newFactory | ( | ) | const [virtual] |
creates a new factory object for the current stream and stream position.
When activated, the factory will be able to create new DcmInputStream delivering the same data as the current stream. Used to defer loading of value fields until accessed. If no factory object can be created (e.g. because the stream is not seekable), returns NULL.
Implements DcmInputStream.