VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfBufferSerialize.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
12 
13 #pragma once
14 
15 #include "vrfutil/vrfutilDefines.h"
16 
17 #include "vrfutil/rwUUID.h"
18 #include "vrfutil/rwSphere.h"
19 #include "vrfutil/rwForceType.h"
20 #include "vrfutil/rwOrbatData.h"
22 #include "vrfutil/rwUnsigned.h"
30 #include "vrfutil/rwStringList.h"
31 #include "vrfutil/rwIntegerList.h"
32 
36 class DtRwPlanVariable;
38 
44 namespace DtBufferSerialize
45 {
53 
54  DT_DLL_vrfutil char *encode(const DtSphere& val, char *buffer);
55  DT_DLL_vrfutil char *encode(const DtRwTranslatableStringObject& val, char* buffer);
56  DT_DLL_vrfutil char *encode(const DtRwObjectType& val, char* buffer);
57  DT_DLL_vrfutil char *encode(const DtRwStringList& val, char* buffer);
58  DT_DLL_vrfutil char *encode(const DtRwIntegerAttributeList& v, char* buffer);
59  DT_DLL_vrfutil char *encode(const DtRwIntegerAttribute& v, char* buffer);
60  DT_DLL_vrfutil char *encode(const DtRwRealAttributeList& v, char* buffer);
61  DT_DLL_vrfutil char *encode(const DtRwRealAttribute& v, char* buffer);
62  DT_DLL_vrfutil char *encode(const DtRwIntegerList& val, char* buffer);
63  DT_DLL_vrfutil char *encode(const DtUUID& val, char* buffer);
64  DT_DLL_vrfutil char *encode(const DtRwUUID& val, char* buffer);
65  DT_DLL_vrfutil char *encode(const DtRwNLengthStringVector& val, char* buffer);
66  DT_DLL_vrfutil char *encode(const DtRwNLengthUUIDVector& val, char* buffer);
67  DT_DLL_vrfutil char *encode(const DtRwJoystickControl& val, char* buffer);
68  DT_DLL_vrfutil char *encode(const DtRwPlanVariable& val, char* buffer);
69  DT_DLL_vrfutil char *encode(const DtRwPlanSimulationObject& val, char* buffer);
70  DT_DLL_vrfutil char *encode(const DtRwOrbatData& val, char *buffer);
71 
73 
74 
82 
83  DT_DLL_vrfutil const char *decode(DtSphere& val, const char *buffer) ;
84  DT_DLL_vrfutil const char *decode(DtRwObjectType& val, const char *buffer);
85  DT_DLL_vrfutil const char *decode(DtRwStringList& val, const char *buffer);
86  DT_DLL_vrfutil const char *decode(DtRwIntegerAttributeList& v, const char* buffer);
87  DT_DLL_vrfutil const char *decode(DtRwIntegerAttribute& v, const char* buffer);
88  DT_DLL_vrfutil const char *decode(DtRwRealAttributeList& v, const char* buffer);
89  DT_DLL_vrfutil const char *decode(DtRwRealAttribute& v, const char* buffer);
90  DT_DLL_vrfutil const char *decode(DtRwIntegerList& val, const char *buffer);
91  DT_DLL_vrfutil const char *decode(DtUUID& val, const char *buffer);
92  DT_DLL_vrfutil const char *decode(DtRwUUID& val, const char *buffer);
93  DT_DLL_vrfutil const char *decode(DtRwNLengthStringVector& val, const char *buffer);
94  DT_DLL_vrfutil const char *decode(DtRwNLengthUUIDVector& val, const char *buffer);
95  DT_DLL_vrfutil const char *decode(DtRwTranslatableStringObject& val, const char *buffer);
96  DT_DLL_vrfutil const char *decode(DtRwJoystickControl& val, const char *buffer);
97  DT_DLL_vrfutil const char *decode(DtRwPlanVariable& val, const char *buffer);
98  DT_DLL_vrfutil const char *decode(DtRwPlanSimulationObject& val, const char *buffer);
99  DT_DLL_vrfutil const char *decode(DtRwOrbatData& val, const char *buffer);
100 
103  DT_DLL_vrfutil const char *decode(std::vector<DtUUID>& val, const char *buffer);
104  DT_DLL_vrfutil const char *decode(boost::unordered_map<DtUUID, DtUUID>& val, const char *buffer);
105  DT_DLL_vrfutil const char *decode(boost::unordered_set<DtUUID>& val, const char *buffer);
106  DT_DLL_vrfutil const char *decode(std::set<DtUUID>& val, const char *buffer);
108 
112 
114  DT_DLL_vrfutil int getSize(const DtSphere& v) ;
115  DT_DLL_vrfutil int getSize(const DtRwObjectType& v);
117  DT_DLL_vrfutil int getSize(const DtRwStringList& v);
118  DT_DLL_vrfutil int getSize(const DtRwIntegerList& v);
123  DT_DLL_vrfutil int getSize(const DtUUID& v);
124  DT_DLL_vrfutil int getSize(const DtRwUUID& v);
129  DT_DLL_vrfutil int getSize(const DtRwOrbatData& v);
130 
132 
135  DT_DLL_vrfutil int getSize(const DtSimInterfaceContent* const& contentPtr);
136 
141  DT_DLL_vrfutil char *encode(const DtSimInterfaceContent* const& adminContentPtr, char *buffer);
142 
151  DT_DLL_vrfutil const char *decode(DtSimInterfaceContent*& interfaceContentPtr, const char *buffer);
152 }
153 

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)