Class for reader engine using pipe. More...


Public Types | |
| typedef Pipe | Self |
| This class. | |
| typedef SmartPointer< Self > | SmartPtr |
| Smart pointer to this class. | |
Public Member Functions | |
| Pipe (const char *filename, const char *command) | |
| Open new pipe from filename. | |
| virtual void | Close () |
| Close current file stream. | |
| virtual void | Rewind () |
| Reset read pointer to beginning of stream. | |
| 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 reader engine using pipe.
Definition at line 301 of file cmtkCompressedStream.h.
This class.
Reimplemented from cmtk::CompressedStream::ReaderBase.
Definition at line 306 of file cmtkCompressedStream.h.
Smart pointer to this class.
Reimplemented from cmtk::CompressedStream::ReaderBase.
Definition at line 309 of file cmtkCompressedStream.h.
FILE* cmtk::CompressedStream::Pipe::m_File [private] |
File pointer.
Definition at line 334 of file cmtkCompressedStream.h.
1.7.2