Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ChunkInputStream Class Referenceabstract

#include <MapReaderWriterInfo.h>

Inherits InputStream.

Inherited by CachedFileInputStream.

Public Member Functions

virtual Int read (void *pData, Int numBytes)=0
 
virtual UnsignedInt tell (void)=0
 
virtual Bool absoluteSeek (UnsignedInt pos)=0
 
virtual Bool eof (void)=0
 

Detailed Description

Virtual helper class, so that we can read in tile and map data from a variety of sources, such as FILE* or CFile.

Definition at line 76 of file MapReaderWriterInfo.h.

Member Function Documentation

◆ absoluteSeek()

virtual Bool ChunkInputStream::absoluteSeek ( UnsignedInt pos)
pure virtual

Implemented in CachedFileInputStream.

◆ eof()

virtual Bool ChunkInputStream::eof ( void )
pure virtual

Implemented in CachedFileInputStream.

◆ read()

virtual Int ChunkInputStream::read ( void * pData,
Int numBytes )
pure virtual

Implements InputStream.

Implemented in CachedFileInputStream.

◆ tell()

virtual UnsignedInt ChunkInputStream::tell ( void )
pure virtual

Implemented in CachedFileInputStream.


The documentation for this class was generated from the following file: