VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hlaBufferSerialize.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 <vlutil/vlMachineTypes.h>
16 #include <vector>
17 #include <set>
18 #include <list>
19 #include <string>
20 #include "vrfutil/vrfutilDefines.h"
21 #include "vrfutil/rwBoolean.h"
22 #include "vrfutil/rwReal.h"
23 #include "vrfutil/rwVector.h"
24 
26 class DtRwReal32;
27 class DtRwReal64;
28 class DtRwInt;
29 class DtRwInt8;
30 class DtRwInt16;
31 class DtRwInt32;
32 class DtRwString;
33 class DtObjectType;
34 class DtEntityIdentifier;
35 class DtRangeItem;
36 class DtRangeItems;
38 
45 namespace DtHlaBufferSerialize
46 {
52 
53  DT_DLL_vrfutil char *encode(const DtRwBoolean& val, char *buffer);
54  DT_DLL_vrfutil char *encode(const DtRwReal& val, char *buffer);
55  DT_DLL_vrfutil char *encode(const DtRwReal32& val, char *buffer);
56  DT_DLL_vrfutil char *encode(const DtRwReal64& val, char *buffer);
57  DT_DLL_vrfutil char *encode(const DtRwInt& val, char *buffer);
58  DT_DLL_vrfutil char *encode(const DtRwInt8& val, char *buffer);
59  DT_DLL_vrfutil char *encode(const DtRwInt16& val, char *buffer);
60  DT_DLL_vrfutil char *encode(const DtRwInt32& val, char *buffer);
61  DT_DLL_vrfutil char *encode(const DtRwString& val, char *buffer);
62  DT_DLL_vrfutil char *encode(const DtRwVector& val, char *buffer);
63 
64  DT_DLL_vrfutil char *encode(const int& val, char *buffer);
65  DT_DLL_vrfutil char *encode(const bool& val, char *buffer);
66  DT_DLL_vrfutil char *encode(const char& val, char *buffer);
67  DT_DLL_vrfutil char *encode(const DtVector32& val, char *buffer);
68  DT_DLL_vrfutil char *encode(const DtVector64& val, char *buffer);
69  DT_DLL_vrfutil char *encode(const DtString& val, char *buffer);
70  DT_DLL_vrfutil char *encode(const DtObjectType& val, char *buffer);
71  DT_DLL_vrfutil char *encode(const DtEntityIdentifier& val, char *buffer);
72  DT_DLL_vrfutil char *encode(const DtRangeItem& val, char *buffer);
73  DT_DLL_vrfutil char *encode(const DtRangeItems& val, char *buffer);
74  DT_DLL_vrfutil char *encode(const DtVrfExtendedRecordData& val, char *buffer);
76 
77 
83 
84  DT_DLL_vrfutil const char *decode(DtRwBoolean &val, const char *buffer) ;
85  DT_DLL_vrfutil const char *decode(DtRwReal &val, const char *buffer);
86  DT_DLL_vrfutil const char *decode(DtRwReal32 &val, const char *buffer);
87  DT_DLL_vrfutil const char *decode(DtRwReal64 &val, const char *buffer);
88  DT_DLL_vrfutil const char *decode(DtRwInt &val, const char *buffer);
89  DT_DLL_vrfutil const char *decode(DtRwInt8 &val, const char *buffer);
90  DT_DLL_vrfutil const char *decode(DtRwInt16 &val, const char *buffer);
91  DT_DLL_vrfutil const char *decode(DtRwInt32 &val, const char *buffer);
92  DT_DLL_vrfutil const char *decode(DtRwString &val, const char *buffer);
93  DT_DLL_vrfutil const char *decode(DtRwVector &val, const char *buffer);
94 
95  DT_DLL_vrfutil const char *decode(int& val, const char *buffer);
96  DT_DLL_vrfutil const char *decode(bool& val, const char *buffer);
97  DT_DLL_vrfutil const char *decode(char& val, const char *buffer);
98  DT_DLL_vrfutil const char *decode(DtVector32& val, const char *buffer);
99  DT_DLL_vrfutil const char *encode(DtVector64& val, const char *buffer);
100  DT_DLL_vrfutil const char *decode(DtString& val, const char *buffer);
101  DT_DLL_vrfutil const char *decode(DtObjectType& val, const char *buffer);
102  DT_DLL_vrfutil const char *decode(DtEntityIdentifier& val, const char *buffer);
103  DT_DLL_vrfutil const char *decode(DtRangeItem& val, const char *buffer);
104  DT_DLL_vrfutil const char *decode(DtRangeItems& val, const char *buffer);
105  DT_DLL_vrfutil const char *decode(DtVrfExtendedRecordData& val, const char *buffer);
107 
109 
110  DT_DLL_vrfutil int getSize(const DtRwBoolean& v);
111  DT_DLL_vrfutil int getSize(const DtRwReal& v);
112  DT_DLL_vrfutil int getSize(const DtRwReal32& v);
113  DT_DLL_vrfutil int getSize(const DtRwReal64& v);
114  DT_DLL_vrfutil int getSize(const DtRwInt& v);
115  DT_DLL_vrfutil int getSize(const DtRwInt8& v);
116  DT_DLL_vrfutil int getSize(const DtRwInt16& v);
117  DT_DLL_vrfutil int getSize(const DtRwInt32& v);
118  DT_DLL_vrfutil int getSize(const DtRwString& v);
119  DT_DLL_vrfutil int getSize(const DtRwVector& v);
120 
121  DT_DLL_vrfutil int getSize(const int& v);
122  DT_DLL_vrfutil int getSize(const bool& v);
123  DT_DLL_vrfutil int getSize(const char& v);
124  DT_DLL_vrfutil int getSize(const DtVector32& v);
125  DT_DLL_vrfutil int getSize(const DtVector64& v);
126  DT_DLL_vrfutil int getSize(const DtString& v);
127  DT_DLL_vrfutil int getSize(const DtObjectType& v);
128  DT_DLL_vrfutil int getSize(const DtEntityIdentifier& v);
129  DT_DLL_vrfutil int getSize(const DtRangeItem& v);
130  DT_DLL_vrfutil int getSize(const DtRangeItems& v);
133 }
134 
135 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)