VR-Forces 4.6 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
 This namespace contains a set of utility functions for encoding and decoding various data types to/from a byte array.

Functions

DT_DLL_vrfutil int DtBufferSerialize::getSize (const DtRwReal32 &val)
DT_DLL_vrfutil int DtBufferSerialize::getSize (const DtRwReal64 &val)
DT_DLL_vrfutil charDtBufferSerialize::encode (const DtRwReal32 &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil charDtBufferSerialize::encode (const DtRwReal64 &val, char *buffer)
DT_DLL_vrfutil 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_vrfutil 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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)