Class for Zlib-based reader engine. More...


Public Types | |
| typedef Zlib | Self |
| This class. | |
| typedef SmartPointer< Self > | SmartPtr |
| Smart pointer to this class. | |
Public Member Functions | |
| Zlib (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 | |
| gzFile | m_GzFile |
| Zlib file pointer. | |
Class for Zlib-based reader engine.
Definition at line 347 of file cmtkCompressedStream.h.
This class.
Reimplemented from cmtk::CompressedStream::ReaderBase.
Definition at line 352 of file cmtkCompressedStream.h.
Smart pointer to this class.
Reimplemented from cmtk::CompressedStream::ReaderBase.
Definition at line 355 of file cmtkCompressedStream.h.
gzFile cmtk::CompressedStream::Zlib::m_GzFile [private] |
Zlib file pointer.
Definition at line 390 of file cmtkCompressedStream.h.
1.7.2