VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtBigEndianStreamReader Class Reference

Instances of DtStreamReader decode values from a byte array The data in the stream is expected to be in big endian format and will be returned in the system format.

Inheritance diagram for makVrf::DtBigEndianStreamReader:
Inheritance graph
[legend]

Public Member Functions

 DtBigEndianStreamReader (unsigned char *buffer, int length, bool makeCopy=false)
 
virtual ~DtBigEndianStreamReader ()
 
virtual short readInt16 ()
 
virtual unsigned short readUInt16 ()
 
virtual int readInt32 ()
 
virtual unsigned readUInt32 ()
 
virtual long long readInt64 ()
 
virtual unsigned long long readUInt64 ()
 
virtual float readSingle ()
 
virtual double readDouble ()
 
- Public Member Functions inherited from makVrf::DtStreamReader
 DtStreamReader (unsigned char *buffer, int length, bool makeCopy=false)
 
virtual ~DtStreamReader ()
 
virtual bool readBool ()
 
virtual char readInt8 ()
 
virtual unsigned char readUInt8 ()
 
virtual std::string readString ()
 
virtual DtVector readVector ()
 
virtual DtTaitBryan readTaitBryan ()
 
DtQuaternion readQuaternion ()
 
DtEntityIdentifier readEntityId ()
 
DtEntityType readEntityType ()
 
unsigned charreadBytes (int length)
 
virtual void readBytes (unsigned char *buffer, int length)
 

Additional Inherited Members

- Protected Member Functions inherited from makVrf::DtStreamReader
int decodeStringSize ()
 
- Protected Attributes inherited from makVrf::DtStreamReader
unsigned charmyBuffer
 
unsigned charmyReadHead
 
int myLength
 
bool myShouldDelete
 

Constructor & Destructor Documentation

makVrf::DtBigEndianStreamReader::DtBigEndianStreamReader ( unsigned char buffer,
int  length,
bool  makeCopy = false 
)

constructor makes a copy of the buffer to work on.

virtual makVrf::DtBigEndianStreamReader::~DtBigEndianStreamReader ( )
virtual

destructor

Member Function Documentation

virtual short makVrf::DtBigEndianStreamReader::readInt16 ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.

virtual unsigned short makVrf::DtBigEndianStreamReader::readUInt16 ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.

virtual int makVrf::DtBigEndianStreamReader::readInt32 ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.

virtual unsigned makVrf::DtBigEndianStreamReader::readUInt32 ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.

virtual long long makVrf::DtBigEndianStreamReader::readInt64 ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.

virtual unsigned long long makVrf::DtBigEndianStreamReader::readUInt64 ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.

virtual float makVrf::DtBigEndianStreamReader::readSingle ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.

virtual double makVrf::DtBigEndianStreamReader::readDouble ( )
virtual

value readers return a value and increment the current position in the byte stream based on the size value

Reimplemented from makVrf::DtStreamReader.


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)