DcmInputFileStream Class Reference

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

Inheritance diagram for DcmInputFileStream:

DcmInputStream List of all members.

Public Member Functions

 DcmInputFileStream (const char *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
OFString filename_
 filename

Detailed Description

input stream that reads from a plain file

Definition at line 162 of file dcistrmf.h.


Constructor & Destructor Documentation

DcmInputFileStream::DcmInputFileStream ( const char *  filename,
offile_off_t  offset = 0 
)

constructor

Parameters:
filename name of file to be opened, must not be NULL or empty
offset byte offset to skip from the start of file


Member Function Documentation

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.

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 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1