VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 DtRwInt;
27 class DtRwString;
28 
35 namespace DtHlaBufferSerialize
36 {
42 
43  DT_DLL_vrfutil char *encode(const DtRwBoolean& val, char *buffer);
44  DT_DLL_vrfutil char *encode(const DtRwReal& val, char *buffer);
45  DT_DLL_vrfutil char *encode(const DtRwInt& val, char *buffer);
46  DT_DLL_vrfutil char *encode(const DtRwString& val, char *buffer);
47  DT_DLL_vrfutil char *encode(const DtRwVector& val, char *buffer);
49 
50 
56 
57  DT_DLL_vrfutil const char *decode(DtRwBoolean &val, const char *buffer) ;
58  DT_DLL_vrfutil const char *decode(DtRwReal &val, const char *buffer) ;
59  DT_DLL_vrfutil const char *decode(DtRwInt &val, const char *buffer) ;
60  DT_DLL_vrfutil const char *decode(DtRwString &val, const char *buffer) ;
61  DT_DLL_vrfutil const char *decode(DtRwVector &val, const char *buffer) ;
63 
65 
66  DT_DLL_vrfutil int getSize(const DtRwBoolean& v) ;
67  DT_DLL_vrfutil int getSize(const DtRwReal& v) ;
68  DT_DLL_vrfutil int getSize(const DtRwInt& v) ;
69  DT_DLL_vrfutil int getSize(const DtRwString& v) ;
70  DT_DLL_vrfutil int getSize(const DtRwVector& v) ;
72 }
73 
74 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)