![]() |
VR-Forces 4.8 Class Documentation
|
Defines ReaderWriter classes for varying sized reals In most cases the DtRwReal class is the preferred class to use for representing reals in the reader writer system. More...
Go to the source code of this file.
Classes | |
| class | DtRwReal32 |
| DtRwReal that encodes the value as a 32 bit float. More... | |
| class | DtRwReal64 |
| DtRwReal that encodes the value as a 64 bit float. More... | |
Namespaces | |
| DtBufferSerialize | |
| Set of utility functions for encoding and decoding various data types to a byte array. | |
Functions | |
| DT_DLL_readerWriter int | DtBufferSerialize::getSize (const DtRwReal32 &val) |
| DT_DLL_readerWriter int | DtBufferSerialize::getSize (const DtRwReal64 &val) |
| DT_DLL_readerWriter char * | DtBufferSerialize::encode (const DtRwReal32 &val, char *buffer) |
| Serializes the provided value val into buffer. More... | |
| DT_DLL_readerWriter char * | DtBufferSerialize::encode (const DtRwReal64 &val, char *buffer) |
| DT_DLL_readerWriter const char * | DtBufferSerialize::decode (DtRwReal32 &val, const char *buffer) |
| Decodes a value from buffer and places the result in val of the type specified by val. More... | |
| DT_DLL_readerWriter const char * | DtBufferSerialize::decode (DtRwReal64 &val, const char *buffer) |
Defines ReaderWriter classes for varying sized reals In most cases the DtRwReal class is the preferred class to use for representing reals in the reader writer system.
However, when a reader writer needs to be encoded in a very specific format, generally to meet some network specification, these classes can be used instead. They represent reals that will be encoded and decoded using specific sizes. Internal representation is the same as DtRwReal, meaning a 64 bit real. internal storage.