Class for uncompressed file-based reader engine. More...
Public Types | |
typedef File | Self |
This class. | |
typedef SmartPointer< Self > | SmartPtr |
Smart pointer to this class. | |
Public Member Functions | |
File (const char *filename) | |
Open new stream from filename. | |
virtual void | Close () |
Close current file stream. | |
virtual void | Rewind () |
Reset read pointer to beginning of stream. | |
virtual int | Seek (const long int offset, int whence) |
Set filepointer. | |
virtual size_t | Read (void *data, size_t size, size_t count) |
Read block of data. | |
virtual bool | Get (char &c) |
Read a single character from the stream. | |
virtual int | Tell () const |
Return number of bytes read from stream. | |
virtual bool | Feof () const |
Return 1 if and only if end of file reached. | |
Private Attributes | |
FILE * | m_File |
File pointer. |
Class for uncompressed file-based reader engine.
Definition at line 254 of file cmtkCompressedStream.h.
This class.
Reimplemented from cmtk::CompressedStream::ReaderBase.
Definition at line 259 of file cmtkCompressedStream.h.
Smart pointer to this class.
Reimplemented from cmtk::CompressedStream::ReaderBase.
Definition at line 262 of file cmtkCompressedStream.h.
FILE* cmtk::CompressedStream::File::m_File [private] |
File pointer.
Definition at line 297 of file cmtkCompressedStream.h.