![]() |
VR-Forces 4.7 Class Documentation
|
Namespace for methods which set a variable from a Lua object to ReaderWriter and vice-versa. More...
Typedefs | |
| typedef bool(* | luaToRwFnc )(const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| Function signature for Lua-to-ReaderWriter conversion functions. | |
| typedef bool(* | rwToLuaFnc )(lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| Function signature for ReaderWriter-to-Lua object conversion functions. | |
| typedef DtReaderWriter *(* | luaToRwCreatorFnc )(const DtString &rwName, luabind::object const &inObj, DtReaderWriter *parent) |
| Function signature for Lua-to-ReaderWriter creation functions. | |
| typedef std::map< DtString, luaToRwFnc > | DtRwFromLuaFcnMap |
| typedef std::map< DtString, rwToLuaFnc > | DtLuaFromRwFcnMap |
| typedef std::map< int, luaToRwCreatorFnc > | DtRwFromLuaCreatorFcnMap |
Functions | |
| bool | setPropertyFromLua (const luabind::object &inObj, DtReaderWriter *outRw) |
| Sets the given ReaderWriter from a Lua object. | |
| bool | setLuaFromRw (lua_State *L, const DtReaderWriter *inRw, luabind::object &outObj) |
| Sets the given Lua object from a ReaderWriter. | |
| bool | setRwFromLua (const luabind::object &inObj, DtReaderWriter *outRw) |
| Tries to set all the contents of the reader/writer item from lua. | |
| DtRwFromLuaFcnMap & | rwFromLuaFcnMap () |
| The Lua-to-ReaderWriter by type. | |
| DtLuaFromRwFcnMap & | luaFromRwFcnMap () |
| The ReaderWriter-to-Lua by type. | |
| DtRwFromLuaCreatorFcnMap & | rwFromLuaCreatorFcnMap () |
| The Lua-to-ReaderWriter creator by type. | |
| bool | setStringRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| Lua-to-ReaderWriter conversion functions. | |
| bool | setUUIDRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setEntityTypeFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setObjectTypeFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setVerticesFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setOffsetVerticesFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setIntRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setDoubleRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setBoolRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setStructRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setListRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
| bool | setStringLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| ReaderWriter-to-Lua conversion functions. | |
| bool | setEntityTypeLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setObjectTypeLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setVerticesLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setOffsetVerticesLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setIntLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setDoubleLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setBoolLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setStructLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| bool | setListLuaFromRw (lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
| DtReaderWriter * | createStringRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *parent) |
| Lua-to-ReaderWriter creation functions. | |
| DtReaderWriter * | createDoubleRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *parent) |
| DtReaderWriter * | createBoolRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *parent) |
| DtReaderWriter * | createCustomRwFromLua (const DtString &rwName, luabind::object const &inObj, DtReaderWriter *parent) |
Namespace for methods which set a variable from a Lua object to ReaderWriter and vice-versa.
| typedef bool(* DtReaderWriterSetter::luaToRwFnc)(const DtString &rwName, luabind::object const &inObj, DtReaderWriter *outRw) |
Function signature for Lua-to-ReaderWriter conversion functions.
| typedef bool(* DtReaderWriterSetter::rwToLuaFnc)(lua_State *L, const DtString &rwName, const DtReaderWriter *inRw, luabind::object &outObj) |
Function signature for ReaderWriter-to-Lua object conversion functions.
| typedef DtReaderWriter*(* DtReaderWriterSetter::luaToRwCreatorFnc)(const DtString &rwName, luabind::object const &inObj, DtReaderWriter *parent) |
Function signature for Lua-to-ReaderWriter creation functions.
| typedef std::map<DtString, luaToRwFnc> DtReaderWriterSetter::DtRwFromLuaFcnMap |
| typedef std::map<DtString, rwToLuaFnc> DtReaderWriterSetter::DtLuaFromRwFcnMap |
| typedef std::map<int, luaToRwCreatorFnc> DtReaderWriterSetter::DtRwFromLuaCreatorFcnMap |
| bool DtReaderWriterSetter::setPropertyFromLua | ( | const luabind::object & | inObj, |
| DtReaderWriter * | outRw | ||
| ) |
Sets the given ReaderWriter from a Lua object.
Returns true if successful.
| bool DtReaderWriterSetter::setLuaFromRw | ( | lua_State * | L, |
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
Sets the given Lua object from a ReaderWriter.
Returns true if successful.
| bool DtReaderWriterSetter::setRwFromLua | ( | const luabind::object & | inObj, |
| DtReaderWriter * | outRw | ||
| ) |
Tries to set all the contents of the reader/writer item from lua.
If there is not a factory representation of a particular reader/writer item then the process will try and set all the registry items from the lua supplied object by name. If the table has a name that does not exist in the reader/writer object then an error will be thrown. If there is no factory representation of a reader/writer object and that object also has no children then an error will be thrown.
Referenced by DtVariableParameterReaderWriter< _Container >::createRwStructure().
| bool DtReaderWriterSetter::setStringRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
Lua-to-ReaderWriter conversion functions.
| bool DtReaderWriterSetter::setUUIDRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setEntityTypeFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setObjectTypeFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setVerticesFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setOffsetVerticesFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setIntRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setDoubleRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setBoolRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setStructRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setListRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | outRw | ||
| ) |
| bool DtReaderWriterSetter::setStringLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
ReaderWriter-to-Lua conversion functions.
| bool DtReaderWriterSetter::setEntityTypeLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setObjectTypeLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setVerticesLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setOffsetVerticesLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setIntLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setDoubleLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setBoolLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setStructLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| bool DtReaderWriterSetter::setListLuaFromRw | ( | lua_State * | L, |
| const DtString & | rwName, | ||
| const DtReaderWriter * | inRw, | ||
| luabind::object & | outObj | ||
| ) |
| DtReaderWriter* DtReaderWriterSetter::createStringRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | parent | ||
| ) |
Lua-to-ReaderWriter creation functions.
| DtReaderWriter* DtReaderWriterSetter::createDoubleRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | parent | ||
| ) |
| DtReaderWriter* DtReaderWriterSetter::createBoolRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | parent | ||
| ) |
| DtReaderWriter* DtReaderWriterSetter::createCustomRwFromLua | ( | const DtString & | rwName, |
| luabind::object const & | inObj, | ||
| DtReaderWriter * | parent | ||
| ) |
| DtRwFromLuaFcnMap& DtReaderWriterSetter::rwFromLuaFcnMap | ( | ) |
The Lua-to-ReaderWriter by type.
| DtLuaFromRwFcnMap& DtReaderWriterSetter::luaFromRwFcnMap | ( | ) |
The ReaderWriter-to-Lua by type.
| DtRwFromLuaCreatorFcnMap& DtReaderWriterSetter::rwFromLuaCreatorFcnMap | ( | ) |
The Lua-to-ReaderWriter creator by type.