VR-Forces 4.3 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 
25 class DtRwInt;
26 class DtRwString;
27 
34 namespace DtHlaBufferSerialize
35 {
41 
42  DT_DLL_vrfutil char *encode(const DtRwBoolean& val, char *buffer);
43  DT_DLL_vrfutil char *encode(const DtRwReal& val, char *buffer);
44  DT_DLL_vrfutil char *encode(const DtRwInt& val, char *buffer);
45  DT_DLL_vrfutil char *encode(const DtRwString& val, char *buffer);
47 
48 
54 
55  DT_DLL_vrfutil const char *decode(DtRwBoolean &val, const char *buffer) ;
56  DT_DLL_vrfutil const char *decode(DtRwReal &val, const char *buffer) ;
57  DT_DLL_vrfutil const char *decode(DtRwInt &val, const char *buffer) ;
58  DT_DLL_vrfutil const char *decode(DtRwString &val, const char *buffer) ;
60 
62 
63  DT_DLL_vrfutil int getSize(const DtRwBoolean& v) ;
64  DT_DLL_vrfutil int getSize(const DtRwReal& v) ;
65  DT_DLL_vrfutil int getSize(const DtRwInt& v) ;
66  DT_DLL_vrfutil int getSize(const DtRwString& v) ;
68 }
69 
70 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)