VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Functions
propertySetter.h File Reference

Go to the source code of this file.

Namespaces

namespace  DtPropertySetter
 Namespace for methods which set a property from a Lua object to DtRwVariableBindings and vice-versa.

Typedefs

typedef bool(* DtPropertySetter::luaToRwFnc )(const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Function signature for Lua-to-ReaderWriter property conversion functions.
typedef bool(* DtPropertySetter::rwToLuaFnc )(lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 Function signature for ReaderWriter-to-Lua property conversion functions.
typedef std::map< DtString,
luaToRwFnc > 
DtPropertySetter::DtPropFromLuaFcnMap
typedef std::map< DtString,
rwToLuaFnc > 
DtPropertySetter::DtPropFromRwFcnMap

Functions

bool DtPropertySetter::setPropertyFromLua (const DtString &propertyName, const luabind::object &inProp, DtRwProperties *outProps)
 Sets the named ReaderWriter property from a Lua property.
bool DtPropertySetter::setPropertyListItemFromLua (const DtString &propertyName, const luabind::object &keyValues, const luabind::object &inProp, DtRwProperties *outProps)
 Finds the item in the named list ReaderWriter property that matches the specified keyValues and updates it with the contents of inProp.
bool DtPropertySetter::setPropertyMapItemFromLua (const DtString &propertyName, const luabind::object &keyValue, const luabind::object &inProp, DtRwProperties *outProps)
 Finds the item in the named map ReaderWriter property that matches the specified keyValues and updates it with the contents of inProp.
bool DtPropertySetter::setPropertyFromRw (lua_State *L, const DtString &propertyName, const DtRwProperties *inProps, luabind::object &outProp)
 Sets the named Lua property from a ReaderWriter property.
bool DtPropertySetter::setPropertyListItemFromRw (lua_State *L, const DtString &propertyName, const luabind::object &keyValues, const DtRwProperties *inProps, luabind::object &outItem)
 Finds the item in the named list ReaderWriter property that matches the specified keyValues and sets outItem with its contents.
bool DtPropertySetter::setPropertyMapItemFromRw (lua_State *L, const DtString &propertyName, const luabind::object &keyValue, const DtRwProperties *inProps, luabind::object &outItem)
 Finds the item in the named map ReaderWriter property that matches the specified keyValue and sets outItem with its contents.
bool DtPropertySetter::setPropertyFromLua (const luabind::object &inProp, DtReaderWriter *outProps)
 Sets the given ReaderWriter property from a Lua property.
bool DtPropertySetter::setPropertyFromRw (lua_State *L, const DtReaderWriter *inProps, luabind::object &outProp)
 Sets the given Lua property from a ReaderWriter property.
bool DtPropertySetter::setRwFromLua (const luabind::object &inProp, DtReaderWriter *outRw)
 Tries to set all the contents of the reader/writer item from lua.
DtString DtPropertySetter::convertMapKey (const DtRwPropertiesMap *propMap, const luabind::object &keyValue)
 Converts the Lua object to a string to be used as a key to the specified DtRwPropertiesMap.
DtPropFromLuaFcnMap & DtPropertySetter::propertyFromLuaFcnMap ()
 The Lua-to-ReaderWriter by type.
DtPropFromRwFcnMap & DtPropertySetter::propertyFromRwFcnMap ()
 The ReaderWriter-to-Lua by type.
bool DtPropertySetter::setStringPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setEntityTypeFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setObjectTypeFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setIntPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setDoublePropFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setBoolPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setStructPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setListPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtReaderWriter *outProp)
 Lua-to-ReaderWriter conversion functions.
bool DtPropertySetter::setStringPropFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
bool DtPropertySetter::setEntityTypeFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
bool DtPropertySetter::setObjectTypeFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
bool DtPropertySetter::setIntPropFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
bool DtPropertySetter::setDoublePropFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
bool DtPropertySetter::setBoolPropFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
bool DtPropertySetter::setStructPropFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
bool DtPropertySetter::setListPropFromRw (lua_State *L, const DtString &propertyName, const DtReaderWriter *inProp, luabind::object &outProp)
 ReaderWriter-to-Lua conversion functions.
const DtReaderWriterDtPropertySetter::findConstListItem (const DtRwPropertiesList *propList, const luabind::object &keyValues)
 Find the item in the list that matches the given keys defined in the keyValues Lua object.
DtReaderWriterDtPropertySetter::findListItem (DtRwPropertiesList *propList, const luabind::object &keyValues)
 Find the item in the list that matches the given keys defined in the keyValues Lua object.
const DtReaderWriterDtPropertySetter::findConstMapItem (const DtRwPropertiesMap *propMap, const luabind::object &keyValue)
 Find the item in the map that matches the given key defined in the keyValue Lua object.
DtReaderWriterDtPropertySetter::findMapItem (DtRwPropertiesMap *propMap, const luabind::object &keyValue)
 Find the item in the map that matches the given key defined in the keyValue Lua object.

Detailed Description


Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)