VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfLua
readerWriterSetter.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
7
8
#pragma once
9
10
#include <
vrfLua/vrfLuaDefines.h
>
11
#include <luabind/luabind.hpp>
12
13
class
DtString
;
14
class
DtReaderWriter
;
15
18
namespace
DtReaderWriterSetter
19
{
22
bool
setPropertyFromLua
(
const
luabind::object& inObj,
DtReaderWriter
* outRw);
23
26
bool
setLuaFromRw
(lua_State* L,
27
const
DtReaderWriter
* inRw, luabind::object& outObj);
28
35
bool
setRwFromLua
(
const
luabind::object& inObj,
DtReaderWriter
* outRw);
36
38
typedef
bool
(*
luaToRwFnc
)(
const
DtString
& rwName, luabind::object
const
& inObj,
39
DtReaderWriter
* outRw);
40
42
43
bool
setStringRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
44
DtReaderWriter
* outRw);
45
46
bool
setUUIDRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
47
DtReaderWriter
* outRw);
48
49
bool
setEntityTypeFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
50
DtReaderWriter
* outRw);
51
52
bool
setObjectTypeFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
53
DtReaderWriter
* outRw);
54
55
bool
setVerticesFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
56
DtReaderWriter
* outRw);
57
58
bool
setOffsetVerticesFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
59
DtReaderWriter
* outRw);
60
61
bool
setIntRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
62
DtReaderWriter
* outRw);
63
64
bool
setDoubleRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
65
DtReaderWriter
* outRw);
66
67
bool
setBoolRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
68
DtReaderWriter
* outRw);
69
70
bool
setStructRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
71
DtReaderWriter
* outRw);
72
73
bool
setListRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
74
DtReaderWriter
* outRw);
76
77
79
typedef
bool
(*
rwToLuaFnc
)(lua_State* L,
const
DtString
& rwName,
80
const
DtReaderWriter
* inRw, luabind::object& outObj);
81
83
84
bool
setStringLuaFromRw
(lua_State* L,
const
DtString
& rwName,
85
const
DtReaderWriter
* inRw, luabind::object& outObj);
86
87
bool
setEntityTypeLuaFromRw
(lua_State* L,
const
DtString
& rwName,
88
const
DtReaderWriter
* inRw, luabind::object& outObj);
89
90
bool
setObjectTypeLuaFromRw
(lua_State* L,
const
DtString
& rwName,
91
const
DtReaderWriter
* inRw, luabind::object& outObj);
92
93
bool
setVerticesLuaFromRw
(lua_State* L,
const
DtString
& rwName,
94
const
DtReaderWriter
* inRw, luabind::object& outObj);
95
96
bool
setOffsetVerticesLuaFromRw
(lua_State* L,
const
DtString
& rwName,
97
const
DtReaderWriter
* inRw, luabind::object& outObj);
98
99
bool
setIntLuaFromRw
(lua_State* L,
const
DtString
& rwName,
100
const
DtReaderWriter
* inRw, luabind::object& outObj);
101
102
bool
setDoubleLuaFromRw
(lua_State* L,
const
DtString
& rwName,
103
const
DtReaderWriter
* inRw, luabind::object& outObj);
104
105
bool
setBoolLuaFromRw
(lua_State* L,
const
DtString
& rwName,
106
const
DtReaderWriter
* inRw, luabind::object& outObj);
107
108
bool
setStructLuaFromRw
(lua_State* L,
const
DtString
& rwName,
109
const
DtReaderWriter
* inRw, luabind::object& outObj);
110
111
bool
setListLuaFromRw
(lua_State* L,
const
DtString
& rwName,
112
const
DtReaderWriter
* inRw, luabind::object& outObj);
114
116
typedef
DtReaderWriter
* (*luaToRwCreatorFnc)(
const
DtString
& rwName, luabind::object
const
& inObj,
117
DtReaderWriter
* parent);
118
120
121
DtReaderWriter
*
createStringRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
122
DtReaderWriter
* parent);
123
124
DtReaderWriter
*
createDoubleRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
125
DtReaderWriter
* parent);
126
127
DtReaderWriter
*
createBoolRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
128
DtReaderWriter
* parent);
129
130
DtReaderWriter
*
createCustomRwFromLua
(
const
DtString
& rwName, luabind::object
const
& inObj,
131
DtReaderWriter
* parent);
133
134
typedef
std::map<DtString, luaToRwFnc>
DtRwFromLuaFcnMap
;
136
DtRwFromLuaFcnMap
&
rwFromLuaFcnMap
();
137
138
typedef
std::map<DtString, rwToLuaFnc>
DtLuaFromRwFcnMap
;
140
DtLuaFromRwFcnMap
&
luaFromRwFcnMap
();
141
142
typedef
std::map<int, luaToRwCreatorFnc>
DtRwFromLuaCreatorFcnMap
;
144
DtRwFromLuaCreatorFcnMap
&
rwFromLuaCreatorFcnMap
();
145
};
146
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
)