#include <MapReaderWriterInfo.h>
Inherits ChunkInputStream.
Public Member Functions | |
| CachedFileInputStream (void) | |
| ~CachedFileInputStream (void) | |
| Bool | open (AsciiString path) |
| Returns true if open succeeded. | |
| void | close (void) |
| Explict close. Destructor closes if file is left open. | |
| virtual Int | read (void *pData, Int numBytes) |
| virtual UnsignedInt | tell (void) |
| virtual Bool | absoluteSeek (UnsignedInt pos) |
| virtual Bool | eof (void) |
| void | rewind (void) |
Protected Attributes | |
| int | m_size |
| char * | m_buffer |
| int | m_pos |
An instance of InputStream that uses a FILE* to read data.
Definition at line 85 of file MapReaderWriterInfo.h.
| CachedFileInputStream::CachedFileInputStream | ( | void | ) |
Definition at line 41 of file DataChunk.cpp.
| CachedFileInputStream::~CachedFileInputStream | ( | void | ) |
Definition at line 45 of file DataChunk.cpp.
|
virtual |
Implements ChunkInputStream.
Definition at line 135 of file DataChunk.cpp.
| void CachedFileInputStream::close | ( | void | ) |
Explict close. Destructor closes if file is left open.
Definition at line 105 of file DataChunk.cpp.
|
virtual |
Implements ChunkInputStream.
Definition at line 145 of file DataChunk.cpp.
| Bool CachedFileInputStream::open | ( | AsciiString | path | ) |
Returns true if open succeeded.
Definition at line 53 of file DataChunk.cpp.
Implements ChunkInputStream.
Definition at line 115 of file DataChunk.cpp.
| void CachedFileInputStream::rewind | ( | void | ) |
Definition at line 150 of file DataChunk.cpp.
|
virtual |
Implements ChunkInputStream.
Definition at line 130 of file DataChunk.cpp.
|
protected |
Definition at line 89 of file MapReaderWriterInfo.h.
|
protected |
Definition at line 90 of file MapReaderWriterInfo.h.
|
protected |
Definition at line 88 of file MapReaderWriterInfo.h.