OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Private Member Functions | List of all members
BinaryReader Class Referenceabstract

#include <binary.h>

Inheritance diagram for BinaryReader:
[legend]

Public Member Functions

virtual ~BinaryReader ()
 
virtual long long tell ()=0
 
virtual void seek (long long pos=0)=0
 
virtual bool eof ()=0
 
virtual int8_t read8 ()
 
virtual uint8_t readU8 ()
 
virtual int16_t read16 ()
 
virtual uint16_t readU16 ()
 
virtual int32_t read32 ()
 
virtual uint32_t readU32 ()
 
virtual int64_t read64 ()
 
virtual uint64_t readU64 ()
 
virtual float readFloat ()
 

Private Member Functions

virtual void read (char *d, int c)=0
 

Detailed Description

Definition at line 14 of file binary.h.

Constructor & Destructor Documentation

BinaryReader::~BinaryReader ( )
virtual

Definition at line 11 of file binary.cpp.

Member Function Documentation

virtual long long BinaryReader::tell ( )
pure virtual

Implemented in BinaryMemory, and BinaryFile.

virtual void BinaryReader::seek ( long long  pos = 0)
pure virtual

Implemented in BinaryMemory, and BinaryFile.

virtual bool BinaryReader::eof ( )
pure virtual

Implemented in BinaryMemory, and BinaryFile.

int8_t BinaryReader::read8 ( )
virtual

Definition at line 70 of file binary.cpp.

uint8_t BinaryReader::readU8 ( )
virtual

Definition at line 14 of file binary.cpp.

int16_t BinaryReader::read16 ( )
virtual

Definition at line 77 of file binary.cpp.

uint16_t BinaryReader::readU16 ( )
virtual

Definition at line 21 of file binary.cpp.

int32_t BinaryReader::read32 ( )
virtual

Definition at line 85 of file binary.cpp.

uint32_t BinaryReader::readU32 ( )
virtual

Definition at line 27 of file binary.cpp.

int64_t BinaryReader::read64 ( )
virtual

Definition at line 93 of file binary.cpp.

uint64_t BinaryReader::readU64 ( )
virtual

Definition at line 33 of file binary.cpp.

float BinaryReader::readFloat ( )
virtual

Definition at line 39 of file binary.cpp.

virtual void BinaryReader::read ( char *  d,
int  c 
)
privatepure virtual

Implemented in BinaryMemory, and BinaryFile.


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