VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHlaBufferSerialize Namespace Reference

Functions

DT_DLL_readerWriter charencode (const DtRwBoolean &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwReal &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwReal32 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwReal64 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwInt &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwInt8 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwInt16 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwInt32 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwString &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwVector &val, char *buffer)
 
DT_DLL_readerWriter charencode (const int &val, char *buffer)
 
DT_DLL_readerWriter charencode (const bool &val, char *buffer)
 
DT_DLL_readerWriter charencode (const char &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtFloat32 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtFloat64 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtVector32 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtVector64 &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtString &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtEntityIdentifier &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRangeItem &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRangeItems &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtVrfExtendedRecordData &val, char *buffer)
 
DT_DLL_readerWriter charencode (const DtRwPropertySizedString &val, char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwBoolean &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwReal &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwReal32 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwReal64 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwInt &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwInt8 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwInt16 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwInt32 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwString &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwVector &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (int &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (bool &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (char &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtFloat32 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtFloat64 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtVector32 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtVector64 &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtString &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtEntityIdentifier &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRangeItem &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRangeItems &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtVrfExtendedRecordData &val, const char *buffer)
 
DT_DLL_readerWriter const chardecode (DtRwPropertySizedString &val, const char *buffer)
 
DT_DLL_readerWriter int getSize (const DtRwBoolean &v)
 
DT_DLL_readerWriter int getSize (const DtRwReal &v)
 
DT_DLL_readerWriter int getSize (const DtRwReal32 &v)
 
DT_DLL_readerWriter int getSize (const DtRwReal64 &v)
 
DT_DLL_readerWriter int getSize (const DtRwInt &v)
 
DT_DLL_readerWriter int getSize (const DtRwInt8 &v)
 
DT_DLL_readerWriter int getSize (const DtRwInt16 &v)
 
DT_DLL_readerWriter int getSize (const DtRwInt32 &v)
 
DT_DLL_readerWriter int getSize (const DtRwString &v)
 
DT_DLL_readerWriter int getSize (const DtRwVector &v)
 
DT_DLL_readerWriter int getSize (const int &v)
 
DT_DLL_readerWriter int getSize (const bool &v)
 
DT_DLL_readerWriter int getSize (const char &v)
 
DT_DLL_readerWriter int getSize (const DtFloat32 &v)
 
DT_DLL_readerWriter int getSize (const DtFloat64 &v)
 
DT_DLL_readerWriter int getSize (const DtVector32 &v)
 
DT_DLL_readerWriter int getSize (const DtVector64 &v)
 
DT_DLL_readerWriter int getSize (const DtString &v)
 
DT_DLL_readerWriter int getSize (const DtEntityIdentifier &v)
 
DT_DLL_readerWriter int getSize (const DtRangeItem &v)
 
DT_DLL_readerWriter int getSize (const DtRangeItems &v)
 
DT_DLL_readerWriter int getSize (const DtVrfExtendedRecordData &v)
 
DT_DLL_readerWriter int getSize (const DtRwPropertySizedString &v)
 

Detailed Description

This namespace contains a set of utility functions for encoding and decoding various data types to/from a byte array in the format expected by an HLA federate. In many cases the encoding will be the same as DtBufferSerialize, but in some cases not. Each data type has a encode(), decode(), and getSize() method defined. Use of the templated versions require that any types passed into the template have these same methods defined.

Function Documentation

DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwBoolean val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwReal val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwReal32 val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwReal64 val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwInt val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwInt8 val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwInt16 val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwInt32 val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwString val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwVector val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const int val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const bool val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const char val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtFloat32 &  val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtFloat64 &  val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtVector32 &  val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtVector64 &  val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtString val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtEntityIdentifier &  val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRangeItem val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRangeItems val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtVrfExtendedRecordData val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtHlaBufferSerialize::encode ( const DtRwPropertySizedString val,
char buffer 
)

Serializes the provided value val into buffer. buffer must have at least the number of bytes returned by getSize() for the same parameter. No length checking is done on buffer.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwBoolean val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwReal val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwReal32 val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwReal64 val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwInt val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwInt8 val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwInt16 val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwInt32 val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwString val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwVector val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( int val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( bool val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( char val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtFloat32 &  val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtFloat64 &  val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtVector32 &  val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtVector64 &  val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtString val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtEntityIdentifier &  val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRangeItem val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRangeItems val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtVrfExtendedRecordData val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtHlaBufferSerialize::decode ( DtRwPropertySizedString val,
const char buffer 
)

Decodes a value from buffer and places the result in val of the type specified by val. Buffer must contain a value created by the corresponding call to encode().

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwBoolean v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwReal v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwReal32 v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwReal64 v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwInt v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwInt8 v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwInt16 v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwInt32 v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwString v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwVector v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const int v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const bool v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const char v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtFloat32 &  v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtFloat64 &  v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtVector32 &  v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtVector64 &  v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtString v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtEntityIdentifier &  v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRangeItem v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRangeItems v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtVrfExtendedRecordData v)

The number of bytes required to encode the value.

DT_DLL_readerWriter int DtHlaBufferSerialize::getSize ( const DtRwPropertySizedString v)

The number of bytes required to encode the value.


Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)