Public Member Functions |
| | DtBigEndianStreamWriter (int length) |
| | constructor takes size of internal buffer to create. Care must be taken to allocate enough space.
|
| | DtBigEndianStreamWriter (unsigned char *buffer, int length) |
| | constructor a given buffer and it's size. Care must be taken to allocate enough space.
|
| virtual | ~DtBigEndianStreamWriter () |
| | destructor
|
|
| void | writeInt16 (short num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| void | writeUInt16 (unsigned short num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| void | writeInt32 (int num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| void | writeUInt32 (unsigned int num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| void | writeInt64 (long long num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| void | writeUInt64 (unsigned long long num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| void | writeSingle (float num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| void | writeDouble (double num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| | DtStreamWriter (int length) |
| | constructor takes size of internal buffer to create. Care must be taken to allocate enough space.
|
| | DtStreamWriter (unsigned char *buffer, int length) |
| | constructor a given buffer and it's size. Care must be taken to allocate enough space.
|
| virtual | ~DtStreamWriter () |
| | destructor
|
| virtual unsigned char * | buffer () |
| | get a copy of the internal buffer
|
| virtual int | length () |
| virtual void | writeBool (bool b) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeInt8 (char num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeUInt8 (unsigned char num) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeString (std::string &str) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeVector (DtVector &vec) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeTaitBryan (DtTaitBryan &tb) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeQuaternion (const DtQuaternion &q) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeEntityId (const DtEntityIdentifier &id) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeEntityType (const DtEntityType &type) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
| virtual void | writeBytes (unsigned char *buffer, int length) |
| | value readers return a value and increment the current position in the byte stream based on the size value
|
Instances of DtStreamWriter encode values into a byte array The data will be written to the stream in big endian format.