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::DtBigEndianStreamWriter Class Reference

Instances of DtStreamWriter encode values into a byte array The data will be written to the stream in big endian format.

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

Public Member Functions

 DtBigEndianStreamWriter (int length)
 
 DtBigEndianStreamWriter (unsigned char *buffer, int length)
 
virtual ~DtBigEndianStreamWriter () override
 
virtual void writeInt16 (short num) override
 
virtual void writeUInt16 (unsigned short num) override
 
virtual void writeInt32 (int num) override
 
virtual void writeUInt32 (unsigned int num) override
 
virtual void writeInt64 (long long num) override
 
virtual void writeUInt64 (unsigned long long num) override
 
virtual void writeSingle (float num) override
 
virtual void writeDouble (double num) override
 
- Public Member Functions inherited from makVrf::DtStreamWriter
 DtStreamWriter (int length)
 
 DtStreamWriter (unsigned char *buffer, int length)
 
virtual ~DtStreamWriter ()
 
virtual unsigned charbuffer ()
 
virtual int length ()
 
virtual void writeBool (bool b)
 
virtual void writeInt8 (char num)
 
virtual void writeUInt8 (unsigned char num)
 
virtual void writeString (std::string &str)
 
virtual void writeVector (DtVector &vec)
 
virtual void writeTaitBryan (DtTaitBryan &tb)
 
virtual void writeQuaternion (const DtQuaternion &q)
 
virtual void writeEntityId (const DtEntityIdentifier &id)
 
virtual void writeEntityType (const DtEntityType &type)
 
virtual void writeBytes (unsigned char *buffer, int length)
 

Additional Inherited Members

- Protected Member Functions inherited from makVrf::DtStreamWriter
void encodeStringSize (int size)
 
- Protected Attributes inherited from makVrf::DtStreamWriter
unsigned charmyBuffer
 
unsigned charmyWriteHead
 
int myLength
 
bool myShouldDelete
 

Constructor & Destructor Documentation

makVrf::DtBigEndianStreamWriter::DtBigEndianStreamWriter ( int  length)

constructor takes size of internal buffer to create. Care must be taken to allocate enough space.

makVrf::DtBigEndianStreamWriter::DtBigEndianStreamWriter ( unsigned char buffer,
int  length 
)

constructor a given buffer and it's size. Care must be taken to allocate enough space.

virtual makVrf::DtBigEndianStreamWriter::~DtBigEndianStreamWriter ( )
overridevirtual

destructor

Member Function Documentation

virtual void makVrf::DtBigEndianStreamWriter::writeInt16 ( short  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.

virtual void makVrf::DtBigEndianStreamWriter::writeUInt16 ( unsigned short  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.

virtual void makVrf::DtBigEndianStreamWriter::writeInt32 ( int  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.

virtual void makVrf::DtBigEndianStreamWriter::writeUInt32 ( unsigned int  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.

virtual void makVrf::DtBigEndianStreamWriter::writeInt64 ( long long  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.

virtual void makVrf::DtBigEndianStreamWriter::writeUInt64 ( unsigned long long  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.

virtual void makVrf::DtBigEndianStreamWriter::writeSingle ( float  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.

virtual void makVrf::DtBigEndianStreamWriter::writeDouble ( double  num)
overridevirtual

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

Reimplemented from makVrf::DtStreamWriter.


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)