VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
asciiSerializable.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 #include <vlutil/vlString.h>
10 
11 #include <string>
12 
13 const DtString DtScriptVrfObjectType = "ScriptVrfObject";
14 const DtString DtLocation3DType = "Location3D";
15 const DtString DtVectorGeoc3DType = "VectorGeoc3D";
16 const DtString DtVector3DType = "Vector3D";
17 const DtString DtVector2DType = "Vector2D";
18 const DtString DtVectorOffset3DType = "VectorOffset3D";
19 const DtString DtScriptFeatureSetType = "ScriptFeatureSet";
20 const DtString DtScriptFeatureGeometryType = "FeatureGeometry";
21 const DtString DtLuaPathJobType = "LuaPathJob";
22 const DtString DtLuaNavRandomPointJobType = "LuaNavRandomPointJob";
23 const DtString DtScriptAnimationModelType = "ScriptAnimationModel";
24 const DtString DtScriptComponentSystemType = "ScriptComponentSystem";
25 const DtString DtTranslatableStreamType = "TranslatableStream";
26 const DtString DtUUIDType = "VrfUUID";
27 
29  : public DtObjectDebugger<DtAsciiSerializable>
30 {
31 public:
37  virtual ~DtAsciiSerializable() { }
38 
43  virtual DtString objectType() const = 0;
44 
47  virtual std::string objectTypeC() const {return objectType().c_str();}
48 
51  virtual DtString serialize() = 0;
52 
55  virtual bool deserialize(const DtString&) = 0;
56 
64  virtual void init(void* userData) {};
65 };
66 

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)