DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Member Functions | Private Attributes
DcmInputFileStream Class Reference

input stream that reads from a plain file More...

+ Inheritance diagram for DcmInputFileStream:

List of all members.

Public Member Functions

 DcmInputFileStream (const OFFilename &filename, offile_off_t offset=0)
 constructor
virtual ~DcmInputFileStream ()
 destructor
virtual DcmInputStreamFactorynewFactory () const
 creates a new factory object for the current stream and stream position.

Private Member Functions

 DcmInputFileStream (const DcmInputFileStream &)
 private unimplemented copy constructor
DcmInputFileStreamoperator= (const DcmInputFileStream &)
 private unimplemented copy assignment operator

Private Attributes

DcmFileProducer producer_
 the final producer of the filter chain
OFFilename filename_
 filename

Detailed Description

input stream that reads from a plain file


Constructor & Destructor Documentation

DcmInputFileStream::DcmInputFileStream ( const OFFilename filename,
offile_off_t  offset = 0 
)

constructor

Parameters:
filenamename of file to be opened (may contain wide chars if support enabled)
offsetbyte offset to skip from the start of file

Member Function Documentation

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.

Returns:
pointer to new factory object if successful, NULL otherwise.

Implements DcmInputStream.


The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027