VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
DtBufferSerialize Namespace Reference

Set of utility functions for encoding and decoding various data types to a byte array. More...

Classes

class  DtGroupEntityInfo

Functions

DT_DLL_readerWriter int getSize (const DtRwInt8 &val)
DT_DLL_readerWriter int getSize (const DtRwInt16 &val)
DT_DLL_readerWriter int getSize (const DtRwInt32 &val)
DT_DLL_readerWriter charencode (const DtRwInt8 &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_readerWriter charencode (const DtRwInt16 &val, char *buffer)
DT_DLL_readerWriter charencode (const DtRwInt32 &val, char *buffer)
DT_DLL_readerWriter const chardecode (DtRwInt8 &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 chardecode (DtRwInt16 &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtRwInt32 &val, const char *buffer)
DT_DLL_readerWriter int getSize (const DtRwReal &val)
DT_DLL_readerWriter charencode (const DtRwReal &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_readerWriter const chardecode (DtRwReal &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_readerWriter int getSize (const DtRwReal32 &val)
DT_DLL_readerWriter int getSize (const DtRwReal64 &val)
DT_DLL_readerWriter charencode (const DtRwReal32 &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_readerWriter charencode (const DtRwReal64 &val, char *buffer)
DT_DLL_readerWriter const chardecode (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 chardecode (DtRwReal64 &val, const char *buffer)
int getSize (const DtGroupEntityInfo &val)
charencode (const DtGroupEntityInfo &val, char *buffer)
const chardecode (DtGroupEntityInfo &val, const char *buffer)
DT_DLL_vrfmsgs int getSize (const DtIfEmbarkationSlotInformationResponse::SlotInformation &)
DT_DLL_vrfmsgs const chardecode (DtIfEmbarkationSlotInformationResponse::SlotInformation &, const char *buffer)
DT_DLL_vrfmsgs charencode (const DtIfEmbarkationSlotInformationResponse::SlotInformation &, char *buffer)
DT_DLL_vrfmsgs int getSize (const DtRangedObjectType &)
DT_DLL_vrfmsgs const chardecode (DtRangedObjectType &, const char *buffer)
DT_DLL_vrfmsgs charencode (const DtRangedObjectType &, char *buffer)
DT_DLL_vrfmsgs int getSize (const DtIntersectionInformation &)
DT_DLL_vrfmsgs const chardecode (DtIntersectionInformation &, const char *)
DT_DLL_vrfmsgs charencode (const DtIntersectionInformation &, char *)
DT_DLL_vrfmsgs int getSize (const DtIfPlan *const &messagePtr)
DT_DLL_vrfmsgs charencode (const DtIfPlan *const &messagePtr, char *buffer)
 Encodes the specified DtIfPlan into the specified character array.
DT_DLL_vrfmsgs const chardecode (DtIfPlan *&messagePtr, const char *buffer)
 Decodes the buffer into the DtIfPlan.
DT_DLL_vrfmsgs int getSize (const DtIfRequestIntersectionInformation::IntersectionInformation &messagePtr)
DT_DLL_vrfmsgs charencode (const DtIfRequestIntersectionInformation::IntersectionInformation &messagePtr, char *buffer)
 Encodes the specified IntersectionInformation into the specified character array.
DT_DLL_vrfmsgs const chardecode (DtIfRequestIntersectionInformation::IntersectionInformation &messagePtr, const char *buffer)
 Decodes the buffer into the IntersectionInformation.
DT_DLL_vrfmsgs int getSize (const DtIfScriptedMovementObjectsResponse::ScriptedMovementObject &)
DT_DLL_vrfmsgs charencode (const DtIfScriptedMovementObjectsResponse::ScriptedMovementObject &str, char *buffer)
DT_DLL_vrfmsgs const chardecode (DtIfScriptedMovementObjectsResponse::ScriptedMovementObject &str, const char *buffer)
DT_DLL_vrfmsgs int getSize (const DtIfSnapshotsResponse::Snapshot &messagePtr)
DT_DLL_vrfmsgs charencode (const DtIfSnapshotsResponse::Snapshot &messagePtr, char *buffer)
 Encodes the specified Snapshot into the specified character array.
DT_DLL_vrfmsgs const chardecode (DtIfSnapshotsResponse::Snapshot &messagePtr, const char *buffer)
 Decodes the buffer into the Snapshot.
DT_DLL_vrfmsgs int getSize (const DtRwSpawnData &contentPtr)
DT_DLL_vrfmsgs charencode (const DtRwSpawnData &adminContentPtr, char *buffer)
 Encodes the specified spawn data into the specified character array.
DT_DLL_vrfmsgs const chardecode (DtRwSpawnData &adminContentPtr, const char *buffer)
 Decodes the buffer into the spawn data.
DT_DLL_vrfmsgs int getSize (const DtSensorDataEntry &data)
 The number of bytes required to encode the value.
DT_DLL_vrfmsgs charencode (const DtSensorDataEntry &data, char *buffer)
 Serializes the provided value data into buffer.
DT_DLL_vrfmsgs const chardecode (DtSensorDataEntry &data, const char *buffer)
 Decodes a value from buffer and places the result in data of the type specified by data.
DT_DLL_vrfmsgs int getSize (const DtSignalMessageHeader *const &messagePtr)
DT_DLL_vrfmsgs charencode (const DtSignalMessageHeader *const &messagePtr, char *buffer)
 Encodes the specified DtSignalMessageHeader into the specified character array.
DT_DLL_vrfmsgs const chardecode (DtSignalMessageHeader *&messagePtr, const char *buffer)
 Decodes the buffer into the DtSignalMessageHeader using the DtVrfObjectMessage factory.
DT_DLL_vrfmsgs int getSize (const DtVrfObjectMessage *const &messagePtr)
DT_DLL_vrfmsgs charencode (const DtVrfObjectMessage *const &messagePtr, char *buffer)
 Encodes the specified DtVrfObjectMessage into the specified character array.
DT_DLL_vrfmsgs const chardecode (DtVrfObjectMessage *&messagePtr, const char *buffer)
 Decodes the buffer into the DtVrfObjectMessage using the DtVrfObjectMessage factory.
DT_DLL_vrfplan int getSize (const DtPlan &contentPtr)
DT_DLL_vrfplan charencode (const DtPlan &adminContentPtr, char *buffer)
 Encodes the specified plan into the specified character array.
DT_DLL_vrfplan const chardecode (DtPlan &adminContentPtr, const char *buffer)
 Decodes the buffer into the plan.
DT_DLL_vrfplan charencode (const DtRwTriggersList &val, char *buffer)
DT_DLL_vrfplan const chardecode (DtRwTriggersList &val, const char *buffer)
DT_DLL_vrfplan int getSize (const DtRwTriggersList &)
DT_DLL_vrfplan int getSize (const DtSimCommand *const &commandPtr)
DT_DLL_vrfplan charencode (const DtSimCommand *const &commandPtr, char *buffer)
 Encodes the specified command into the specified character array.
DT_DLL_vrfplan const chardecode (DtSimCommand *&commandPtr, const char *buffer)
 Decodes the buffer into the command using the task factory.
DT_DLL_vrfplan charencode (const DtSimStatement *val, char *buffer)
DT_DLL_vrfplan const chardecode (DtSimStatement *&val, const char *buffer)
DT_DLL_vrfplan int getSize (const DtSimStatement *)
int getSize (const DtRwSetDataRequestList &list)
charencode (const DtRwSetDataRequestList &list, char *buffer)
const chardecode (DtRwSetDataRequestList &list, const char *buffer)
DT_DLL_vrftasks int getSize (const DtScriptedTask &list)
DT_DLL_vrftasks charencode (const DtScriptedTask &list, char *buffer)
DT_DLL_vrftasks const chardecode (DtScriptedTask &list, const char *buffer)
DT_DLL_vrftasks int getSize (const DtSetDataRequest *const &setDataPtr)
DT_DLL_vrftasks charencode (const DtSetDataRequest *const &setDataPtr, char *buffer)
 Encodes the specified set data request into the specified character array.
DT_DLL_vrftasks const chardecode (DtSetDataRequest *&setDataPtr, const char *buffer)
 Decodes the buffer into the set data request using the task factory.
DT_DLL_vrftasks int getSize (const DtSimTask *const &taskPtr)
DT_DLL_vrftasks charencode (const DtSimTask *const &taskPtr, char *buffer)
 Encodes the specified task into the specified character array.
DT_DLL_vrftasks const chardecode (DtSimTask *&taskPtr, const char *buffer)
 Decodes the buffer into the task using the task factory.
DT_DLL_vrfutil int getSize (const DtAggregatedResourceList &val)
DT_DLL_vrfutil charencode (const DtAggregatedResourceList &val, char *buffer)
 Encodes the list into the buffer.
DT_DLL_vrfutil const chardecode (DtAggregatedResourceList &val, const char *buffer)
DT_DLL_vrfutil charencode (const DtMsdlHierarchyPropertyMappings &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtMsdlHierarchyPropertyMappings &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtMsdlHierarchyPropertyMappings &val)
DT_DLL_vrfutil std::string encodeForImportData (const DtMsdlHierarchyPropertyMappings &)
DT_DLL_vrfutil void decodeFromImportData (DtMsdlHierarchyPropertyMappings &, const std::string &)
template<typename _Key , typename _Value >
std::string encodeForImportData (const std::map< _Key, _Value > &v)
template<typename _Key , typename _Value >
void decodeFromImportData (std::map< _Key, _Value > &map, const std::string &s)
DT_DLL_vrfutil int getSize (const DtRailSegment &data)
 The number of bytes required to encode the value.
DT_DLL_vrfutil charencode (const DtRailSegment &data, char *buffer)
 Serializes the provided value data into buffer.
DT_DLL_vrfutil const chardecode (DtRailSegment &data, const char *buffer)
 Decodes a value from buffer and places the result in data of the type specified by data.
DT_DLL_vrfutil int getSize (const DtRwAggregateState &val)
 The number of bytes required to encode the value.
DT_DLL_vrfutil charencode (const DtRwAggregateState &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil const chardecode (DtRwAggregateState &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_vrfutil int getSize (const DtRwColor &val)
DT_DLL_vrfutil charencode (const DtRwColor &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwColor &val, const char *buffer)
DT_DLL_vrfutil charencode (const DtRwConditionsList &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwConditionsList &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwConditionsList &)
DT_DLL_vrfutil int getSize (const DtRwContaminationArea &val)
DT_DLL_vrfutil charencode (const DtRwContaminationArea &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwContaminationArea &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwDistanceAltitudeTimeEntry &val)
DT_DLL_vrfutil charencode (const DtRwDistanceAltitudeTimeEntry &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil const chardecode (DtRwDistanceAltitudeTimeEntry &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_vrfutil int getSize (const DtRwDistanceAltitudeTimeEntryList &val)
DT_DLL_vrfutil charencode (const DtRwDistanceAltitudeTimeEntryList &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwDistanceAltitudeTimeEntryList &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwEmbarkationSlot &val)
DT_DLL_vrfutil charencode (const DtRwEmbarkationSlot &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwEmbarkationSlot &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwEngagementInfo &info)
 The number of bytes required to encode the info.
DT_DLL_vrfutil charencode (const DtRwEngagementInfo &info, char *buffer)
 Serializes the provided engagement info into buffer.
DT_DLL_vrfutil const chardecode (DtRwEngagementInfo &info, const char *buffer)
 Decodes an engagement info from buffer and places the result in info.
DT_DLL_vrfutil int getSize (const DtRwEngagementInfoList &list)
 The number of bytes required to encode the list.
DT_DLL_vrfutil charencode (const DtRwEngagementInfoList &list, char *buffer)
 Serializes the provided engagement list into buffer.
DT_DLL_vrfutil const chardecode (DtRwEngagementInfoList &list, const char *buffer)
 Decodes an engagement list from buffer and places the result in list.
DT_DLL_vrfutil int getSize (const DtRwForceType &val)
 The number of bytes required to encode the value.
DT_DLL_vrfutil charencode (const DtRwForceType &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil const chardecode (DtRwForceType &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_vrfutil int getSize (const DtRwFormationType &val)
DT_DLL_vrfutil charencode (const DtRwFormationType &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil const chardecode (DtRwFormationType &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_vrfutil int getSize (const DtRwKeplerOrbitalElements &val)
DT_DLL_vrfutil charencode (const DtRwKeplerOrbitalElements &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil const chardecode (DtRwKeplerOrbitalElements &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_vrfutil charencode (const DtRwKeyValueList &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwKeyValueList &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwKeyValueList &val)
DT_DLL_vrfutil int getSize (const DtRwObjectTypeInfo &contentPtr)
DT_DLL_vrfutil charencode (const DtRwObjectTypeInfo &adminContentPtr, char *buffer)
 Encodes the specified spawn data into the specified character array.
DT_DLL_vrfutil const chardecode (DtRwObjectTypeInfo &adminContentPtr, const char *buffer)
 Decodes the buffer into the spawn data.
DT_DLL_vrfutil int getSize (const DtRwSensorContactInfo &data)
 The number of bytes required to encode the value.
DT_DLL_vrfutil charencode (const DtRwSensorContactInfo &data, char *buffer)
 Serializes the provided value data into buffer.
DT_DLL_vrfutil const chardecode (DtRwSensorContactInfo &data, const char *buffer)
 Decodes a value from buffer and places the result in data of the type specified by data.
template<typename T , bool T_autoDelete>
int getSize (const DtRwTemplatedListPtr< T, T_autoDelete > &val)
template<typename T , bool T_autoDelete>
charencode (const DtRwTemplatedListPtr< T, T_autoDelete > &val, char *buffer)
 Encodes the list into the buffer.
template<typename T , bool T_autoDelete>
const chardecode (DtRwTemplatedListPtr< T, T_autoDelete > &val, const char *buffer)
 Decodes a list from buffer.
template<typename FirstType , typename SecondType >
int getSize (const DtRwTemplatedPair< FirstType, SecondType > &val)
template<typename FirstType , typename SecondType >
charencode (const DtRwTemplatedPair< FirstType, SecondType > &val, char *buffer)
 Encodes the map into the buffer.
template<typename FirstType , typename SecondType >
const chardecode (DtRwTemplatedPair< FirstType, SecondType > &val, const char *buffer)
 Decodes a map from buffer.
template<typename KeyType , typename ValType >
int getSize (const DtRwTemplatedMapPtr< KeyType, ValType > &m)
template<typename KeyType , typename ValType >
charencode (const DtRwTemplatedMapPtr< KeyType, ValType > &m, char *buffer)
 Encodes the map into the buffer.
template<typename KeyType , typename ValType >
const chardecode (DtRwTemplatedMapPtr< KeyType, ValType > &m, const char *buffer)
 Decodes a map from buffer.
DT_DLL_vrfutil int getSize (const DtRwUnsigned &val)
DT_DLL_vrfutil charencode (const DtRwUnsigned &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil const chardecode (DtRwUnsigned &val, const char *buffer)
 Decodes a value from buffer and places the result in val of the type specified by val.
DT_DLL_vrfutil int getSize (const DtScriptedTaskMetaData &v)
DT_DLL_vrfutil charencode (const DtScriptedTaskMetaData &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtScriptedTaskMetaData &val, const char *buffer)
DT_DLL_vrfutil charencode (const DtSimCondExpr *val, char *buffer)
DT_DLL_vrfutil const chardecode (DtSimCondExpr *&val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtSimCondExpr *)
DT_DLL_vrfutil int getSize (const DtStealthCommand &)
DT_DLL_vrfutil const chardecode (DtStealthCommand &, const char *)
DT_DLL_vrfutil charencode (const DtStealthCommand &, char *)
DT_DLL_vrfutil int getSize (const DtSubordinateAggregateEntry &val)
DT_DLL_vrfutil charencode (const DtSubordinateAggregateEntry &data, char *buffer)
DT_DLL_vrfutil const chardecode (DtSubordinateAggregateEntry &data, const char *buffer)
DT_DLL_vrfutil int getSize (const DtSubordinateEntry &val)
DT_DLL_vrfutil charencode (const DtSubordinateEntry &data, char *buffer)
DT_DLL_vrfutil const chardecode (DtSubordinateEntry &data, const char *buffer)
DT_DLL_vrfutil int getSize (const DtSubordinateObjectsList &val)
DT_DLL_vrfutil charencode (const DtSubordinateObjectsList &val, char *buffer)
 Encodes the list into the buffer.
DT_DLL_vrfutil const chardecode (DtSubordinateObjectsList &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwActivities &val)
DT_DLL_vrfutil const chardecode (DtRwActivities &val, const char *buffer)
DT_DLL_vrfutil charencode (const DtRwActivities &val, char *buffer)
DT_DLL_vrfutil int getSize (const DtRwHazardType &val)
DT_DLL_vrfutil charencode (const DtRwHazardType &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwHazardType &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwHazardAreaInformation &val)
DT_DLL_vrfutil charencode (const DtRwHazardAreaInformation &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwHazardAreaInformation &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwAffectableEngineeringObject &val)
DT_DLL_vrfutil charencode (const DtRwAffectableEngineeringObject &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwAffectableEngineeringObject &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwUserQuestion &list)
DT_DLL_vrfutil charencode (const DtRwUserQuestion &list, char *buffer)
DT_DLL_vrfutil const chardecode (DtRwUserQuestion &list, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwDynamicTerrainChangeInformation &)
DT_DLL_vrfutil const chardecode (DtRwDynamicTerrainChangeInformation &, const char *)
DT_DLL_vrfutil charencode (const DtRwDynamicTerrainChangeInformation &, char *)
DT_DLL_vrfutil int getSize (const DtRwDynamicTerrainInformation &)
DT_DLL_vrfutil const chardecode (DtRwDynamicTerrainInformation &, const char *)
DT_DLL_vrfutil charencode (const DtRwDynamicTerrainInformation &, char *)
DT_DLL_vrfutil int getSize (const DtSimInterfaceContent *const &contentPtr)
DT_DLL_vrfutil charencode (const DtSimInterfaceContent *const &adminContentPtr, char *buffer)
 Encodes the specified interface content into the specified character array.
DT_DLL_vrfutil const chardecode (DtSimInterfaceContent *&interfaceContentPtr, const char *buffer)
 Decodes the buffer into the admin content using the interface content factory.
DT_DLL_readerWriter charencode (const DtFilename &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_readerWriter charencode (const DtString &val, char *buffer)
DT_DLL_readerWriter charencode (const std::string &val, char *buffer)
DT_DLL_readerWriter charencode (const char *val, unsigned nSize, char *buffer)
DT_DLL_readerWriter charencode (const int &val, char *buffer)
DT_DLL_readerWriter charencode (const DtInt16 &val, char *buffer)
DT_DLL_readerWriter charencode (const DtInt32 &val, char *buffer)
DT_DLL_readerWriter charencode (const DtU8 &val, char *buffer)
DT_DLL_readerWriter charencode (const DtU16 &val, char *buffer)
DT_DLL_readerWriter charencode (const DtU32 &val, char *buffer)
DT_DLL_readerWriter charencode (const DtU64 &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 DtVector &val, char *buffer)
DT_DLL_readerWriter charencode (const DtTaitBryan &val, char *buffer)
DT_DLL_readerWriter charencode (const bool &val, char *buffer)
DT_DLL_readerWriter charencode (const DtObjectType &val, char *buffer)
DT_DLL_readerWriter charencode (const std::vector< char > &val, char *buffer)
DT_DLL_readerWriter charencode (const DtRwBoolean &val, char *buffer)
DT_DLL_readerWriter charencode (const DtEntityType &val, char *buffer)
DT_DLL_readerWriter charencode (const DtEntityIdentifier &val, char *buffer)
DT_DLL_readerWriter charencode (const DtSimulationAddress &val, char *buffer)
DT_DLL_readerWriter charencode (const DtAppearance &val, char *buffer)
DT_DLL_readerWriter charencode (const DtForceType &val, char *buffer)
DT_DLL_readerWriter charencode (const DtInetAddr &val, char *buffer)
DT_DLL_readerWriter charencode (const DtRwInt &val, char *buffer)
DT_DLL_readerWriter charencode (const DtRwVariableBindings &val, char *buffer)
DT_DLL_readerWriter charencode (const DtRwStringAttribute &v, char *buffer)
DT_DLL_readerWriter charencode (const DtRwStringAttributeList &val, char *buffer)
template<typename T >
charencode (const std::vector< T > &val, char *buffer)
template<typename T >
charencode (const std::set< T > &val, char *buffer)
template<typename T >
charencode (const std::list< T > &val, char *buffer)
template<typename T1 , typename T2 >
charencode (const std::map< T1, T2 > &val, char *buffer)
template<typename T1 , typename T2 >
charencode (const boost::unordered_map< T1, T2 > &val, char *buffer)
template<typename T1 >
charencode (const boost::unordered_set< T1 > &val, char *buffer)
template<typename T1 , typename T2 >
charencode (const std::pair< T1, T2 > &val, char *buffer)
DT_DLL_readerWriter charencode (const std::vector< bool > &val, char *buffer)
DT_DLL_readerWriter const chardecode (DtString &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 chardecode (std::string &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtFilename &val, const char *buffer)
DT_DLL_readerWriter const chardecode (int &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtInt16 &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtInt32 &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtU8 &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtU16 &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtU32 &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtU64 &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 (DtVector &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtTaitBryan &val, const char *buffer)
DT_DLL_readerWriter const chardecode (bool &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtObjectType &val, const char *buffer)
DT_DLL_readerWriter const chardecode (std::vector< char > &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtRwBoolean &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtEntityType &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtEntityIdentifier &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtSimulationAddress &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtAppearance &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtForceType &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtInetAddr &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtRwInt &val, const char *buffer)
DT_DLL_readerWriter const chardecode (DtRwStringAttributeList &v, const char *buffer)
DT_DLL_readerWriter const chardecode (DtRwStringAttribute &v, const char *buffer)
DT_DLL_readerWriter const chardecode (DtRwVariableBindings &val, const char *buffer)
template<typename T >
const chardecode (std::vector< T > &val, const char *buffer)
template<typename T >
const chardecode (std::set< T > &val, const char *buffer)
template<typename T >
const chardecode (std::list< T > &val, const char *buffer)
template<typename T1 , typename T2 >
const chardecode (std::map< T1, T2 > &val, const char *buffer)
template<typename T1 , typename T2 >
const chardecode (boost::unordered_map< T1, T2 > &val, const char *buffer)
template<typename T1 >
const chardecode (boost::unordered_set< T1 > &val, const char *buffer)
template<typename T1 , typename T2 >
const chardecode (std::pair< T1, T2 > &val, const char *buffer)
DT_DLL_readerWriter const chardecode (std::vector< bool > &val, const char *buffer)
DT_DLL_readerWriter int getSize (const DtString &val)
 The number of bytes required to encode the value.
DT_DLL_readerWriter int getSize (const std::string &val)
DT_DLL_readerWriter int getSize (const DtFilename &val)
DT_DLL_readerWriter int getSize (const DtVector &v)
DT_DLL_readerWriter int getSize (const int &v)
DT_DLL_readerWriter int getSize (const DtInt16 &v)
DT_DLL_readerWriter int getSize (const DtInt32 &v)
DT_DLL_readerWriter int getSize (const DtU8 &v)
DT_DLL_readerWriter int getSize (const DtU16 &v)
DT_DLL_readerWriter int getSize (const DtU32 &v)
DT_DLL_readerWriter int getSize (const DtU64 &v)
DT_DLL_readerWriter int getSize (const DtFloat32 &v)
DT_DLL_readerWriter int getSize (const DtFloat64 &v)
DT_DLL_readerWriter int getSize (const bool &v)
DT_DLL_readerWriter int getSize (const DtObjectType &v)
DT_DLL_readerWriter int getSize (const DtTaitBryan &v)
DT_DLL_readerWriter int getSize (const std::vector< char > &v)
DT_DLL_readerWriter int getSize (const DtRwBoolean &v)
DT_DLL_readerWriter int getSize (const DtEntityType &v)
DT_DLL_readerWriter int getSize (const DtEntityIdentifier &v)
DT_DLL_readerWriter int getSize (const DtSimulationAddress &v)
DT_DLL_readerWriter int getSize (const DtAppearance &v)
DT_DLL_readerWriter int getSize (const DtForceType &v)
DT_DLL_readerWriter int getSize (const DtInetAddr &v)
DT_DLL_readerWriter int getSize (const DtRwInt &v)
DT_DLL_readerWriter int getSize (const DtRwVariableBindings &v)
DT_DLL_readerWriter int getSize (const DtRwStringAttributeList &v)
DT_DLL_readerWriter int getSize (const DtRwStringAttribute &v)
template<typename T >
int getSize (const std::vector< T > &v)
template<typename T >
int getSize (const std::list< T > &v)
template<typename T1 , typename T2 >
int getSize (const std::map< T1, T2 > &v)
template<typename T1 , typename T2 >
int getSize (const boost::unordered_map< T1, T2 > &v)
template<typename T1 >
int getSize (const boost::unordered_set< T1 > &v)
template<typename T1 , typename T2 >
int getSize (const std::pair< T1, T2 > &v)
template<typename T >
int getSize (const std::set< T > &v)
DT_DLL_readerWriter int getSize (const std::vector< bool > &v)
DT_DLL_vrfutil charencode (const DtSphere &val, char *buffer)
 Serializes the provided value val into buffer.
DT_DLL_vrfutil charencode (const DtRwTranslatableStringObject &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwObjectType &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwStringList &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwIntegerAttributeList &v, char *buffer)
DT_DLL_vrfutil charencode (const DtRwIntegerAttribute &v, char *buffer)
DT_DLL_vrfutil charencode (const DtRwRealAttributeList &v, char *buffer)
DT_DLL_vrfutil charencode (const DtRwRealAttribute &v, char *buffer)
DT_DLL_vrfutil charencode (const DtRwIntegerList &val, char *buffer)
DT_DLL_vrfutil charencode (const DtUUID &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwUUID &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwNLengthStringVector &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwNLengthUUIDVector &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwJoystickControl &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwPlanVariable &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwPlanSimulationObject &val, char *buffer)
DT_DLL_vrfutil charencode (const DtRwOrbatData &val, char *buffer)
DT_DLL_vrfutil const chardecode (DtSphere &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 chardecode (DtRwObjectType &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwStringList &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwIntegerAttributeList &v, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwIntegerAttribute &v, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwRealAttributeList &v, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwRealAttribute &v, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwIntegerList &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtUUID &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwUUID &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwNLengthStringVector &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwNLengthUUIDVector &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwTranslatableStringObject &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwJoystickControl &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwPlanVariable &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwPlanSimulationObject &val, const char *buffer)
DT_DLL_vrfutil const chardecode (DtRwOrbatData &val, const char *buffer)
DT_DLL_vrfutil const chardecode (std::vector< DtUUID > &val, const char *buffer)
 Specialized version of decode for DtUUID since templated version is less efficient for this type.
DT_DLL_vrfutil const chardecode (boost::unordered_map< DtUUID, DtUUID > &val, const char *buffer)
DT_DLL_vrfutil const chardecode (boost::unordered_set< DtUUID > &val, const char *buffer)
DT_DLL_vrfutil const chardecode (std::set< DtUUID > &val, const char *buffer)
DT_DLL_vrfutil int getSize (const DtRwPlanVariable &v)
 The number of bytes required to encode the value.
DT_DLL_vrfutil int getSize (const DtSphere &v)
DT_DLL_vrfutil int getSize (const DtRwObjectType &v)
DT_DLL_vrfutil int getSize (const DtRwTranslatableStringObject &v)
DT_DLL_vrfutil int getSize (const DtRwStringList &v)
DT_DLL_vrfutil int getSize (const DtRwIntegerList &v)
DT_DLL_vrfutil int getSize (const DtRwIntegerAttributeList &v)
DT_DLL_vrfutil int getSize (const DtRwIntegerAttribute &v)
DT_DLL_vrfutil int getSize (const DtRwRealAttributeList &v)
DT_DLL_vrfutil int getSize (const DtRwRealAttribute &v)
DT_DLL_vrfutil int getSize (const DtUUID &v)
DT_DLL_vrfutil int getSize (const DtRwUUID &v)
DT_DLL_vrfutil int getSize (const DtRwNLengthStringVector &v)
DT_DLL_vrfutil int getSize (const DtRwNLengthUUIDVector &v)
DT_DLL_vrfutil int getSize (const DtRwJoystickControl &v)
DT_DLL_vrfutil int getSize (const DtRwPlanSimulationObject &v)
DT_DLL_vrfutil int getSize (const DtRwOrbatData &v)

Detailed Description

Set of utility functions for encoding and decoding various data types to a byte array.

This namespace contains a set of utility functions for encoding and decoding various data types to/from a byte array.

All function are inside the DtBufferSerialize namespace. This namespace contains a set of utility functions for encoding and decoding various data types to/from a byte array. 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.

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* DtBufferSerialize::encode ( const DtFilename &  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().
Note
When argument is a template, the templated type passed in must have an encode() method defined.

Referenced by encode(), and encodeForImportData().

DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtString val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const std::string &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const char val,
unsigned  nSize,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const int val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtInt16 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtInt32 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtU8 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtU16 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtU32 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtU64 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtFloat32 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtFloat64 &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtVector val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtTaitBryan &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const bool val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtObjectType val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const std::vector< char > &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtRwBoolean val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtEntityType &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtEntityIdentifier &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtSimulationAddress &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtAppearance &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtForceType &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtInetAddr &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtRwInt val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtRwVariableBindings val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtRwStringAttribute v,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtRwStringAttributeList val,
char buffer 
)
template<typename T >
char* DtBufferSerialize::encode ( const std::vector< T > &  val,
char buffer 
)
template<typename T >
char* DtBufferSerialize::encode ( const std::set< T > &  val,
char buffer 
)
template<typename T >
char* DtBufferSerialize::encode ( const std::list< T > &  val,
char buffer 
)
template<typename T1 , typename T2 >
char* DtBufferSerialize::encode ( const std::map< T1, T2 > &  val,
char buffer 
)
template<typename T1 , typename T2 >
char* DtBufferSerialize::encode ( const boost::unordered_map< T1, T2 > &  val,
char buffer 
)
template<typename T1 >
char* DtBufferSerialize::encode ( const boost::unordered_set< T1 > &  val,
char buffer 
)
template<typename T1 , typename T2 >
char* DtBufferSerialize::encode ( const std::pair< T1, T2 > &  val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const std::vector< bool > &  val,
char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::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().
Note
When argument is a template, the templated type passed in must have a decode() method defined.

Referenced by decode(), and decodeFromImportData().

DT_DLL_readerWriter const char* DtBufferSerialize::decode ( std::string &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtFilename &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( int val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtInt16 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtInt32 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtU8 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtU16 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtU32 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtU64 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtFloat32 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtFloat64 &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtVector val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtTaitBryan &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( bool val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtObjectType val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( std::vector< char > &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwBoolean val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtEntityType &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtEntityIdentifier &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtSimulationAddress &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtAppearance &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtForceType &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtInetAddr &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwInt val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwStringAttributeList v,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwStringAttribute v,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwVariableBindings val,
const char buffer 
)
template<typename T >
const char* DtBufferSerialize::decode ( std::vector< T > &  val,
const char buffer 
)
template<typename T >
const char* DtBufferSerialize::decode ( std::set< T > &  val,
const char buffer 
)
template<typename T >
const char* DtBufferSerialize::decode ( std::list< T > &  val,
const char buffer 
)
template<typename T1 , typename T2 >
const char* DtBufferSerialize::decode ( std::map< T1, T2 > &  val,
const char buffer 
)
template<typename T1 , typename T2 >
const char* DtBufferSerialize::decode ( boost::unordered_map< T1, T2 > &  val,
const char buffer 
)
template<typename T1 >
const char* DtBufferSerialize::decode ( boost::unordered_set< T1 > &  val,
const char buffer 
)
template<typename T1 , typename T2 >
const char* DtBufferSerialize::decode ( std::pair< T1, T2 > &  val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( std::vector< bool > &  val,
const char buffer 
)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtString val)

The number of bytes required to encode the value.

Note
When argument is a template, the templated type passed in must have a getSize() method defined.

Referenced by encodeForImportData(), and getSize().

DT_DLL_readerWriter int DtBufferSerialize::getSize ( const std::string &  val)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtFilename &  val)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtVector v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const int v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtInt16 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtInt32 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtU8 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtU16 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtU32 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtU64 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtFloat32 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtFloat64 &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const bool v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtObjectType v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtTaitBryan &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const std::vector< char > &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwBoolean v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtEntityType &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtEntityIdentifier &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtSimulationAddress &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtAppearance &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtForceType &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtInetAddr &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwInt v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwVariableBindings v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwStringAttributeList v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwStringAttribute v)
template<typename T >
int DtBufferSerialize::getSize ( const std::vector< T > &  v)
template<typename T >
int DtBufferSerialize::getSize ( const std::list< T > &  v)
template<typename T1 , typename T2 >
int DtBufferSerialize::getSize ( const std::map< T1, T2 > &  v)
template<typename T1 , typename T2 >
int DtBufferSerialize::getSize ( const boost::unordered_map< T1, T2 > &  v)
template<typename T1 >
int DtBufferSerialize::getSize ( const boost::unordered_set< T1 > &  v)
template<typename T1 , typename T2 >
int DtBufferSerialize::getSize ( const std::pair< T1, T2 > &  v)
template<typename T >
int DtBufferSerialize::getSize ( const std::set< T > &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const std::vector< bool > &  v)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwInt8 val)
Returns
The number of bytes required to encode the value.
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwInt16 val)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwInt32 val)
DT_DLL_readerWriter char* DtBufferSerialize::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.

Note
The valueSpecified flag is also encoded.
Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtRwInt16 val,
char buffer 
)
DT_DLL_readerWriter char* DtBufferSerialize::encode ( const DtRwInt32 val,
char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::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().

Note
The valueSpecified flag is also decoded.
Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwInt16 val,
const char buffer 
)
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwInt32 val,
const char buffer 
)
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwReal val)
Returns
The number of bytes required to encode the value.
DT_DLL_readerWriter char* DtBufferSerialize::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.

Note
The valueSpecified flag is also encoded.
Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_readerWriter const char* DtBufferSerialize::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().

Note
The valueSpecified flag is also decoded.
Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter int DtBufferSerialize::getSize ( const DtRwReal32 val)
Returns
The number of bytes required to encode the value.
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.

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

Note
The valueSpecified flag is also encoded.
Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
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.

Buffer must contain a value created by the corresponding call to encode().

Note
The valueSpecified flag is also decoded.
Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_readerWriter const char* DtBufferSerialize::decode ( DtRwReal64 val,
const char buffer 
)
int DtBufferSerialize::getSize ( const DtGroupEntityInfo &  val)
char* DtBufferSerialize::encode ( const DtGroupEntityInfo &  val,
char buffer 
)
const char* DtBufferSerialize::decode ( DtGroupEntityInfo &  val,
const char buffer 
)
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtIfEmbarkationSlotInformationResponse::SlotInformation ,
const char buffer 
)
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtIfEmbarkationSlotInformationResponse::SlotInformation ,
char buffer 
)
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtRangedObjectType )
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtRangedObjectType ,
const char buffer 
)
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtRangedObjectType ,
char buffer 
)
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtIntersectionInformation )
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtIntersectionInformation ,
const char  
)
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtIntersectionInformation ,
char  
)
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtIfPlan *const &  messagePtr)
Returns
The number of bytes required to encode the specified DtIfPlan.
Note
Passing in a null task pointer is valid (will return size of 0).
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtIfPlan *const &  messagePtr,
char buffer 
)

Encodes the specified DtIfPlan into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null DtIfPlan pointer is valid (nothing will be encoded)
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtIfPlan *&  messagePtr,
const char buffer 
)

Decodes the buffer into the DtIfPlan.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null DtVrfObjectMessage pointer is valid
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtIfRequestIntersectionInformation::IntersectionInformation messagePtr)
Returns
The number of bytes required to encode the specified IntersectionInformation.
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtIfRequestIntersectionInformation::IntersectionInformation messagePtr,
char buffer 
)

Encodes the specified IntersectionInformation into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtIfRequestIntersectionInformation::IntersectionInformation messagePtr,
const char buffer 
)

Decodes the buffer into the IntersectionInformation.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtIfScriptedMovementObjectsResponse::ScriptedMovementObject str,
char buffer 
)
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtIfScriptedMovementObjectsResponse::ScriptedMovementObject str,
const char buffer 
)
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtIfSnapshotsResponse::Snapshot messagePtr)
Returns
The number of bytes required to encode the specified Snapshot.
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtIfSnapshotsResponse::Snapshot messagePtr,
char buffer 
)

Encodes the specified Snapshot into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtIfSnapshotsResponse::Snapshot messagePtr,
const char buffer 
)

Decodes the buffer into the Snapshot.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtRwSpawnData contentPtr)
Returns
The number of bytes required to encode the specified spawn data.
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtRwSpawnData adminContentPtr,
char buffer 
)

Encodes the specified spawn data into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtRwSpawnData adminContentPtr,
const char buffer 
)

Decodes the buffer into the spawn data.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtSensorDataEntry data)

The number of bytes required to encode the value.

DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtSensorDataEntry data,
char buffer 
)

Serializes the provided value data 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_vrfmsgs const char* DtBufferSerialize::decode ( DtSensorDataEntry data,
const char buffer 
)

Decodes a value from buffer and places the result in data of the type specified by data.

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_vrfmsgs int DtBufferSerialize::getSize ( const DtSignalMessageHeader *const &  messagePtr)
Returns
The number of bytes required to encode the specified DtSignalMessageHeader.
Note
Passing in a null task pointer is valid.
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtSignalMessageHeader *const &  messagePtr,
char buffer 
)

Encodes the specified DtSignalMessageHeader into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null DtSignalMessageHeader pointer is valid.
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtSignalMessageHeader *&  messagePtr,
const char buffer 
)

Decodes the buffer into the DtSignalMessageHeader using the DtVrfObjectMessage factory.

messagePtr will be deleted and reallocated by this method. The type of the DtVrfObjectMessage created will be determined by the message type specified in the buffer.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null DtSignalMessageHeader pointer is valid.
DT_DLL_vrfmsgs int DtBufferSerialize::getSize ( const DtVrfObjectMessage *const &  messagePtr)
Returns
The number of bytes required to encode the specified DtVrfObjectMessage.
Note
Passing in a null task pointer is valid.
DT_DLL_vrfmsgs char* DtBufferSerialize::encode ( const DtVrfObjectMessage *const &  messagePtr,
char buffer 
)

Encodes the specified DtVrfObjectMessage into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null DtVrfObjectMessage pointer is valid.
DT_DLL_vrfmsgs const char* DtBufferSerialize::decode ( DtVrfObjectMessage *&  messagePtr,
const char buffer 
)

Decodes the buffer into the DtVrfObjectMessage using the DtVrfObjectMessage factory.

messagePtr will be deleted and reallocated by this method. The type of the task created will be determined by the task type specified in the buffer. If no DtVrfObjectMessage could be created from the buffer, messagePtr will be null after the function call.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null DtVrfObjectMessage pointer is valid.
DT_DLL_vrfplan int DtBufferSerialize::getSize ( const DtPlan contentPtr)
Returns
The number of bytes required to encode the specified plan.
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrfplan char* DtBufferSerialize::encode ( const DtPlan adminContentPtr,
char buffer 
)

Encodes the specified plan into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_vrfplan const char* DtBufferSerialize::decode ( DtPlan adminContentPtr,
const char buffer 
)

Decodes the buffer into the plan.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfplan char* DtBufferSerialize::encode ( const DtRwTriggersList val,
char buffer 
)
DT_DLL_vrfplan const char* DtBufferSerialize::decode ( DtRwTriggersList val,
const char buffer 
)
DT_DLL_vrfplan int DtBufferSerialize::getSize ( const DtRwTriggersList )
DT_DLL_vrfplan int DtBufferSerialize::getSize ( const DtSimCommand *const &  commandPtr)
Returns
The number of bytes required to encode the specified command.
Note
Passing in a null command pointer is valid.
DT_DLL_vrfplan char* DtBufferSerialize::encode ( const DtSimCommand *const &  commandPtr,
char buffer 
)

Encodes the specified command into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null command pointer is valid.
DT_DLL_vrfplan const char* DtBufferSerialize::decode ( DtSimCommand *&  commandPtr,
const char buffer 
)

Decodes the buffer into the command using the task factory.

commandPtr will be deleted and reallocated by this method. The type of the command created will be determined by the command type specified in the buffer. If no command could be created from the buffer, commandPtr will be null after the function call.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null command pointer is valid.
DT_DLL_vrfplan char* DtBufferSerialize::encode ( const DtSimStatement val,
char buffer 
)
DT_DLL_vrfplan const char* DtBufferSerialize::decode ( DtSimStatement *&  val,
const char buffer 
)
DT_DLL_vrfplan int DtBufferSerialize::getSize ( const DtSimStatement )
int DtBufferSerialize::getSize ( const DtRwSetDataRequestList list)
char* DtBufferSerialize::encode ( const DtRwSetDataRequestList list,
char buffer 
)
const char* DtBufferSerialize::decode ( DtRwSetDataRequestList list,
const char buffer 
)
DT_DLL_vrftasks int DtBufferSerialize::getSize ( const DtScriptedTask list)
DT_DLL_vrftasks char* DtBufferSerialize::encode ( const DtScriptedTask list,
char buffer 
)
DT_DLL_vrftasks const char* DtBufferSerialize::decode ( DtScriptedTask list,
const char buffer 
)
DT_DLL_vrftasks int DtBufferSerialize::getSize ( const DtSetDataRequest *const &  setDataPtr)
Returns
The number of bytes required to encode the specified set data request.
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrftasks char* DtBufferSerialize::encode ( const DtSetDataRequest *const &  setDataPtr,
char buffer 
)

Encodes the specified set data request into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrftasks const char* DtBufferSerialize::decode ( DtSetDataRequest *&  setDataPtr,
const char buffer 
)

Decodes the buffer into the set data request using the task factory.

taskPtr will be deleted and reallocated by this method. The type of the task created will be determined by the task type specified in the buffer. If no task could be created from the buffer, taskPtr will be null after the function call.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrftasks int DtBufferSerialize::getSize ( const DtSimTask *const &  taskPtr)
Returns
The number of bytes required to encode the specified task.
Note
Passing in a null task pointer is valid.
DT_DLL_vrftasks char* DtBufferSerialize::encode ( const DtSimTask *const &  taskPtr,
char buffer 
)

Encodes the specified task into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null task pointer is valid.
DT_DLL_vrftasks const char* DtBufferSerialize::decode ( DtSimTask *&  taskPtr,
const char buffer 
)

Decodes the buffer into the task using the task factory.

taskPtr will be deleted and reallocated by this method. The type of the task created will be determined by the task type specified in the buffer. If no task could be created from the buffer, taskPtr will be null after the function call.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null task pointer is valid.
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtAggregatedResourceList val)
Returns
The number of bytes required to serialize the list.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtAggregatedResourceList val,
char buffer 
)

Encodes the list into the buffer.

No length checking is done, buffer must be at least getSize() long.

DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtAggregatedResourceList val,
const char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtMsdlHierarchyPropertyMappings val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtMsdlHierarchyPropertyMappings val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtMsdlHierarchyPropertyMappings val)
DT_DLL_vrfutil std::string DtBufferSerialize::encodeForImportData ( const DtMsdlHierarchyPropertyMappings )
DT_DLL_vrfutil void DtBufferSerialize::decodeFromImportData ( DtMsdlHierarchyPropertyMappings ,
const std::string &   
)
template<typename _Key , typename _Value >
std::string DtBufferSerialize::encodeForImportData ( const std::map< _Key, _Value > &  v)

References encode(), and getSize().

template<typename _Key , typename _Value >
void DtBufferSerialize::decodeFromImportData ( std::map< _Key, _Value > &  map,
const std::string &  s 
)

References decode().

DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRailSegment data)

The number of bytes required to encode the value.

DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRailSegment data,
char buffer 
)

Serializes the provided value data 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_vrfutil const char* DtBufferSerialize::decode ( DtRailSegment data,
const char buffer 
)

Decodes a value from buffer and places the result in data of the type specified by data.

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_vrfutil int DtBufferSerialize::getSize ( const DtRwAggregateState val)

The number of bytes required to encode the value.

DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwAggregateState 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_vrfutil const char* DtBufferSerialize::decode ( DtRwAggregateState 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_vrfutil int DtBufferSerialize::getSize ( const DtRwColor val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwColor val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwColor val,
const char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwConditionsList val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwConditionsList val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwConditionsList )
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwContaminationArea val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwContaminationArea val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwContaminationArea val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwDistanceAltitudeTimeEntry val)
Returns
The number of bytes required to encode the value.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwDistanceAltitudeTimeEntry 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.

Note
The valueSpecified flag is also encoded.
Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwDistanceAltitudeTimeEntry 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().

Note
The valueSpecified flag is also decoded.
Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwDistanceAltitudeTimeEntryList val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwDistanceAltitudeTimeEntryList val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwDistanceAltitudeTimeEntryList val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwEmbarkationSlot val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwEmbarkationSlot val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwEmbarkationSlot val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwEngagementInfo info)

The number of bytes required to encode the info.

DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwEngagementInfo info,
char buffer 
)

Serializes the provided engagement info into buffer.

The 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_vrfutil const char* DtBufferSerialize::decode ( DtRwEngagementInfo info,
const char buffer 
)

Decodes an engagement info from buffer and places the result in info.

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_vrfutil int DtBufferSerialize::getSize ( const DtRwEngagementInfoList list)

The number of bytes required to encode the list.

DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwEngagementInfoList list,
char buffer 
)

Serializes the provided engagement list into buffer.

The 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_vrfutil const char* DtBufferSerialize::decode ( DtRwEngagementInfoList list,
const char buffer 
)

Decodes an engagement list from buffer and places the result in list.

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_vrfutil int DtBufferSerialize::getSize ( const DtRwForceType val)

The number of bytes required to encode the value.

DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwForceType 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_vrfutil const char* DtBufferSerialize::decode ( DtRwForceType 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_vrfutil int DtBufferSerialize::getSize ( const DtRwFormationType val)
Returns
The number of bytes required to encode the value.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwFormationType 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.

Note
The valueSpecified flag is also encoded.
Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwFormationType 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().

Note
The valueSpecified flag is also decoded.
Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwKeplerOrbitalElements val)
Returns
The number of bytes required to encode the value.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwKeplerOrbitalElements 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_vrfutil const char* DtBufferSerialize::decode ( DtRwKeplerOrbitalElements 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_vrfutil char* DtBufferSerialize::encode ( const DtRwKeyValueList val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwKeyValueList val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwKeyValueList val)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwObjectTypeInfo contentPtr)
Returns
The number of bytes required to encode the specified spawn data.
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwObjectTypeInfo adminContentPtr,
char buffer 
)

Encodes the specified spawn data into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwObjectTypeInfo adminContentPtr,
const char buffer 
)

Decodes the buffer into the spawn data.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwSensorContactInfo data)

The number of bytes required to encode the value.

DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwSensorContactInfo data,
char buffer 
)

Serializes the provided value data 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_vrfutil const char* DtBufferSerialize::decode ( DtRwSensorContactInfo data,
const char buffer 
)

Decodes a value from buffer and places the result in data of the type specified by data.

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().
template<typename T , bool T_autoDelete>
int DtBufferSerialize::getSize ( const DtRwTemplatedListPtr< T, T_autoDelete > &  val)
Returns
The number of bytes required to serialize the list.
Note
Type T must have a DtBufferSerialize::getSize() method.
template<typename T , bool T_autoDelete>
char* DtBufferSerialize::encode ( const DtRwTemplatedListPtr< T, T_autoDelete > &  val,
char buffer 
)

Encodes the list into the buffer.

No length checking is done, buffer must be at least getSize() long.

Note
Type T must have a DtBufferSerialize::encode() method.
template<typename T , bool T_autoDelete>
const char* DtBufferSerialize::decode ( DtRwTemplatedListPtr< T, T_autoDelete > &  val,
const char buffer 
)

Decodes a list from buffer.

Note
Type T must have a DtBufferSerialize::decode() method.
The names of the items will not be preserved. They will all have the RW name of "item" once decoded.
template<typename FirstType , typename SecondType >
int DtBufferSerialize::getSize ( const DtRwTemplatedPair< FirstType, SecondType > &  val)
Returns
The number of bytes required to serialize the map.
Note
Type T must have a DtBufferSerialize::getSize() method.
template<typename FirstType , typename SecondType >
char* DtBufferSerialize::encode ( const DtRwTemplatedPair< FirstType, SecondType > &  val,
char buffer 
)

Encodes the map into the buffer.

No length checking is done, buffer must be at least getSize() long.

Note
Type T must have a DtBufferSerialize::encode() method.
template<typename FirstType , typename SecondType >
const char* DtBufferSerialize::decode ( DtRwTemplatedPair< FirstType, SecondType > &  val,
const char buffer 
)

Decodes a map from buffer.

Note
Type T must have a DtBufferSerialize::decode() method.
The names of the items will not be preserved. They will all have the RW name of "item" once decoded.
template<typename KeyType , typename ValType >
int DtBufferSerialize::getSize ( const DtRwTemplatedMapPtr< KeyType, ValType > &  m)
Returns
The number of bytes required to serialize the map.
Note
Type T must have a DtBufferSerialize::getSize() method.
template<typename KeyType , typename ValType >
char* DtBufferSerialize::encode ( const DtRwTemplatedMapPtr< KeyType, ValType > &  m,
char buffer 
)

Encodes the map into the buffer.

No length checking is done, buffer must be at least getSize() long.

Note
Type T must have a DtBufferSerialize::encode() method.
template<typename KeyType , typename ValType >
const char* DtBufferSerialize::decode ( DtRwTemplatedMapPtr< KeyType, ValType > &  m,
const char buffer 
)

Decodes a map from buffer.

Note
Type T must have a DtBufferSerialize::decode() method.
The names of the items will not be preserved. They will all have the RW name of "item" once decoded.
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwUnsigned val)
Returns
The number of bytes required to encode the value.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwUnsigned 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.

Note
The valueSpecified flag is also encoded.
Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwUnsigned 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().

Note
The valueSpecified flag is also decoded.
Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtScriptedTaskMetaData v)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtScriptedTaskMetaData val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtScriptedTaskMetaData val,
const char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtSimCondExpr val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtSimCondExpr *&  val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtSimCondExpr )
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtStealthCommand )
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtStealthCommand ,
const char  
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtStealthCommand ,
char  
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtSubordinateAggregateEntry val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtSubordinateAggregateEntry data,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtSubordinateAggregateEntry data,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtSubordinateEntry val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtSubordinateEntry data,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtSubordinateEntry data,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtSubordinateObjectsList val)
Returns
The number of bytes required to serialize the list.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtSubordinateObjectsList val,
char buffer 
)

Encodes the list into the buffer.

No length checking is done, buffer must be at least getSize() long.

DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtSubordinateObjectsList val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwActivities val)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwActivities val,
const char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwActivities val,
char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwHazardType val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwHazardType val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwHazardType val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwHazardAreaInformation val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwHazardAreaInformation val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwHazardAreaInformation val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwAffectableEngineeringObject val)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwAffectableEngineeringObject val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwAffectableEngineeringObject val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwUserQuestion list)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwUserQuestion list,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwUserQuestion list,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwDynamicTerrainChangeInformation )
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwDynamicTerrainChangeInformation ,
const char  
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwDynamicTerrainChangeInformation ,
char  
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwDynamicTerrainInformation )
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwDynamicTerrainInformation ,
const char  
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwDynamicTerrainInformation ,
char  
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtSphere 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().
Note
When argument is a template, the templated type passed in must have an encode() method defined.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwTranslatableStringObject val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwObjectType val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwStringList val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwIntegerAttributeList v,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwIntegerAttribute v,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwRealAttributeList v,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwRealAttribute v,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwIntegerList val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtUUID val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwUUID val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwNLengthStringVector val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwNLengthUUIDVector val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwJoystickControl val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwPlanVariable val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwPlanSimulationObject val,
char buffer 
)
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtRwOrbatData val,
char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtSphere 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().
Note
When argument is a template, the templated type passed in must have a decode() method defined.
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwObjectType val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwStringList val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwIntegerAttributeList v,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwIntegerAttribute v,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwRealAttributeList v,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwRealAttribute v,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwIntegerList val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtUUID val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwUUID val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwNLengthStringVector val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwNLengthUUIDVector val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwTranslatableStringObject val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwJoystickControl val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwPlanVariable val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwPlanSimulationObject val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtRwOrbatData val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( std::vector< DtUUID > &  val,
const char buffer 
)

Specialized version of decode for DtUUID since templated version is less efficient for this type.

DT_DLL_vrfutil const char* DtBufferSerialize::decode ( boost::unordered_map< DtUUID, DtUUID > &  val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( boost::unordered_set< DtUUID > &  val,
const char buffer 
)
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( std::set< DtUUID > &  val,
const char buffer 
)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwPlanVariable v)

The number of bytes required to encode the value.

Note
When argument is a template, the templated type passed in must have a getSize() method defined.
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtSphere v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwObjectType v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwTranslatableStringObject v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwStringList v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwIntegerList v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwIntegerAttributeList v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwIntegerAttribute v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwRealAttributeList v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwRealAttribute v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtUUID v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwUUID v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwNLengthStringVector v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwNLengthUUIDVector v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwJoystickControl v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwPlanSimulationObject v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtRwOrbatData v)
DT_DLL_vrfutil int DtBufferSerialize::getSize ( const DtSimInterfaceContent *const &  contentPtr)
Returns
The number of bytes required to encode the specified interface content.
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrfutil char* DtBufferSerialize::encode ( const DtSimInterfaceContent *const &  adminContentPtr,
char buffer 
)

Encodes the specified interface content into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrfutil const char* DtBufferSerialize::decode ( DtSimInterfaceContent *&  interfaceContentPtr,
const char buffer 
)

Decodes the buffer into the admin content using the interface content factory.

interfaceContentPtr will be deleted and reallocated by this method. The type of the content created will be determined by the content type specified in the buffer. If no task could be created from the buffer, contentPtr will be null after the function call.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null set data request pointer is valid.

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)