DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
input stream that reads from a plain file More...
Public Member Functions | |
DcmInputFileStream (const OFFilename &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 | |
OFFilename | filename_ |
filename |
input stream that reads from a plain file
DcmInputFileStream::DcmInputFileStream | ( | const OFFilename & | filename, |
offile_off_t | offset = 0 |
||
) |
constructor
filename | name of file to be opened (may contain wide chars if support enabled) |
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.