VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions
rwRealSized.h File Reference

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

namespace  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 charDtBufferSerialize::encode (const DtRwReal32 &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_readerWriter charDtBufferSerialize::encode (const DtRwReal64 &val, char *buffer)
DT_DLL_readerWriter const charDtBufferSerialize::decode (DtRwReal32 &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_readerWriter const charDtBufferSerialize::decode (DtRwReal64 &val, const char *buffer)

Detailed Description

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.


Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)