VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions
DtPropertySetter Namespace Reference

Typedefs

using ConstPrioritizedProperties = std::vector< const DtRwProperties * >
 
using PrioritizedProperties = std::vector< DtRwProperties * >
 
typedef bool(* luaToPropFnc )(const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
typedef bool(* propToLuaFnc )(lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
typedef DtPropertyInterface *(* luaToPropCreatorFnc )(const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
typedef std::map< DtString,
luaToPropFnc > 
DtPropFromLuaFcnMap
 
typedef std::map< DtString,
propToLuaFnc > 
DtLuaFromPropFcnMap
 
typedef std::map< int,
luaToPropCreatorFnc > 
DtPropFromLuaCreatorFcnMap
 

Functions

DT_DLL_vrfLua bool setPropertyFromLua (const DtString &propertyName, const luabind::object &inProp, DtRwProperties *outProps)
 
DT_DLL_vrfLua bool setPropertyFromLua (const DtString &propertyName, const luabind::object &inProp, PrioritizedProperties outProps)
 
DT_DLL_vrfLua bool setOrAddPropertyFromLua (const DtString &propertyName, const luabind::object &inProp, DtRwProperties *outProps)
 
DT_DLL_vrfLua bool setOrAddPropertyFromLua (const DtString &propertyName, const luabind::object &inProp, PrioritizedProperties outProps)
 
DT_DLL_vrfLua bool setPropertyListItemFromLua (const DtString &propertyName, const luabind::object &keyValues, const luabind::object &inProp, DtRwProperties *outProps)
 
DT_DLL_vrfLua bool setPropertyListItemFromLua (const DtString &propertyName, const luabind::object &keyValues, const luabind::object &inProp, PrioritizedProperties outProps)
 
DT_DLL_vrfLua bool setPropertyListItemFromLua (const DtString &propertyName, int index, const luabind::object &inProp, DtRwProperties *outProps)
 
DT_DLL_vrfLua bool setPropertyListItemFromLua (const DtString &propertyName, int index, const luabind::object &inProp, PrioritizedProperties outProps)
 
DT_DLL_vrfLua bool setPropertyMapItemFromLua (const DtString &propertyName, const luabind::object &keyValue, const luabind::object &inProp, DtRwProperties *outProps)
 
DT_DLL_vrfLua bool setPropertyMapItemFromLua (const DtString &propertyName, const luabind::object &keyValue, const luabind::object &inProp, PrioritizedProperties outProps)
 
DT_DLL_vrfLua bool setLuaFromProperty (lua_State *L, const DtString &propertyName, const DtRwProperties *inProps, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromProperty (lua_State *L, const DtString &propertyName, ConstPrioritizedProperties inProps, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaListItemFromProperty (lua_State *L, const DtString &propertyName, const luabind::object &keyValues, const DtRwProperties *inProps, luabind::object &outItem, int &index)
 
DT_DLL_vrfLua bool setLuaListItemFromProperty (lua_State *L, const DtString &propertyName, const luabind::object &keyValues, ConstPrioritizedProperties inProps, luabind::object &outItem, int &index)
 
DT_DLL_vrfLua bool setLuaListItemFromProperty (lua_State *L, const DtString &propertyName, int index, const DtRwProperties *inProps, luabind::object &outItem)
 
DT_DLL_vrfLua bool setLuaListItemFromProperty (lua_State *L, const DtString &propertyName, int index, ConstPrioritizedProperties inProps, luabind::object &outItem)
 
DT_DLL_vrfLua bool setLuaMapItemFromProperty (lua_State *L, const DtString &propertyName, const luabind::object &keyValue, const DtRwProperties *inProps, luabind::object &outItem)
 
DT_DLL_vrfLua bool setLuaMapItemFromProperty (lua_State *L, const DtString &propertyName, const luabind::object &keyValue, ConstPrioritizedProperties inProps, luabind::object &outItem)
 
DT_DLL_vrfLua bool setPropertyFromLua (const luabind::object &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setLuaFromProperty (lua_State *L, const DtPropertyInterface *inProps, luabind::object &outProp)
 
DT_DLL_vrfLua const
DtPropertyInterface * 
findConstListItemByKeys (const DtRwPropertiesList *propList, const luabind::object &keyValues, int &index)
 
DT_DLL_vrfLua const
DtPropertyInterface * 
findConstListItemByValue (const DtRwPropertiesList *propList, const luabind::object &keyValues, int &index)
 
DT_DLL_vrfLua DtString convertMapKey (const DtRwPropertiesMap *propMap, const luabind::object &keyValue)
 
DT_DLL_vrfLua DtPropFromLuaFcnMap & propertyFromLuaFcnMap ()
 
DT_DLL_vrfLua DtLuaFromPropFcnMap & luaFromPropertyFcnMap ()
 
DT_DLL_vrfLua
DtPropFromLuaCreatorFcnMap & 
propertyFromLuaCreatorFcnMap ()
 
DT_DLL_vrfLua bool setStringPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setUUIDPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setEntityTypePropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setResourceTypePropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setObjectTypePropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setVerticesPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setOffsetVerticesPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setIntPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setDoublePropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setBoolPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setVectorPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setStructPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setListPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setMapPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)
 
DT_DLL_vrfLua bool setLuaFromStringProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromEntityTypeProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromObjectTypeProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromVerticesProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromOffsetVerticesProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromIntProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromDoubleProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromBoolProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromVectorProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromStructProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua bool setLuaFromListProp (lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)
 
DT_DLL_vrfLua DtPropertyInterface * createStringPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua DtPropertyInterface * createDoublePropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua DtPropertyInterface * createBoolPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua DtPropertyInterface * createTablePropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua DtPropertyInterface * createCustomPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua DtPropertyInterface * createStructPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua DtPropertyInterface * createListPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua DtPropertyInterface * createMapPropFromLua (const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)
 
DT_DLL_vrfLua const
DtPropertyInterface * 
findConstListItem (const DtRwPropertiesList *propList, const luabind::object &keyValues, int &index)
 
DT_DLL_vrfLua DtPropertyInterface * findListItem (DtRwPropertiesList *propList, const luabind::object &keyValues, int &index)
 
DT_DLL_vrfLua const
DtPropertyInterface * 
findConstMapItem (const DtRwPropertiesMap *propMap, const luabind::object &keyValue)
 
DT_DLL_vrfLua DtPropertyInterface * findMapItem (DtRwPropertiesMap *propMap, const luabind::object &keyValue)
 

Detailed Description

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

Typedef Documentation

using DtPropertySetter::ConstPrioritizedProperties = typedef std::vector<const DtRwProperties*>
typedef bool(* DtPropertySetter::luaToPropFnc)(const DtString &propertyName, luabind::object const &inProp, DtPropertyInterface *outProp)

Function signature for Lua-to-property conversion functions.

typedef bool(* DtPropertySetter::propToLuaFnc)(lua_State *L, const DtString &propertyName, const DtPropertyInterface *inProp, luabind::object &outProp)

Function signature for Property-to-Lua conversion functions.

typedef DtPropertyInterface*(* DtPropertySetter::luaToPropCreatorFnc)(const DtString &propertyName, luabind::object const &inProp, DtRwProperties *parent)

Function signature for Lua-to-property creation functions.

Function Documentation

DT_DLL_vrfLua bool DtPropertySetter::setPropertyFromLua ( const DtString &  propertyName,
const luabind::object &  inProp,
DtRwProperties *  outProps 
)

Sets the named property property from a Lua property. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setPropertyFromLua ( const DtString &  propertyName,
const luabind::object &  inProp,
PrioritizedProperties  outProps 
)
DT_DLL_vrfLua bool DtPropertySetter::setOrAddPropertyFromLua ( const DtString &  propertyName,
const luabind::object &  inProp,
DtRwProperties *  outProps 
)

Sets the named property from a Lua property, adding it if it's not found. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setOrAddPropertyFromLua ( const DtString &  propertyName,
const luabind::object &  inProp,
PrioritizedProperties  outProps 
)
DT_DLL_vrfLua bool DtPropertySetter::setPropertyListItemFromLua ( const DtString &  propertyName,
const luabind::object &  keyValues,
const luabind::object &  inProp,
DtRwProperties *  outProps 
)

Finds the item in the named list property that matches the specified keyValues and updates it with the contents of inProp. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setPropertyListItemFromLua ( const DtString &  propertyName,
const luabind::object &  keyValues,
const luabind::object &  inProp,
PrioritizedProperties  outProps 
)
DT_DLL_vrfLua bool DtPropertySetter::setPropertyListItemFromLua ( const DtString &  propertyName,
int  index,
const luabind::object &  inProp,
DtRwProperties *  outProps 
)

Finds the item in the named list property at the given index (where the Lua input starts at index 1) and updates it with the contents of inProp. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setPropertyListItemFromLua ( const DtString &  propertyName,
int  index,
const luabind::object &  inProp,
PrioritizedProperties  outProps 
)
DT_DLL_vrfLua bool DtPropertySetter::setPropertyMapItemFromLua ( const DtString &  propertyName,
const luabind::object &  keyValue,
const luabind::object &  inProp,
DtRwProperties *  outProps 
)

Finds the item in the named map property that matches the specified keyValues and updates it with the contents of inProp. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setPropertyMapItemFromLua ( const DtString &  propertyName,
const luabind::object &  keyValue,
const luabind::object &  inProp,
PrioritizedProperties  outProps 
)
DT_DLL_vrfLua bool DtPropertySetter::setLuaFromProperty ( lua_State *  L,
const DtString &  propertyName,
const DtRwProperties *  inProps,
luabind::object &  outProp 
)

Sets the named Lua property from a property. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromProperty ( lua_State *  L,
const DtString &  propertyName,
ConstPrioritizedProperties  inProps,
luabind::object &  outProp 
)
DT_DLL_vrfLua bool DtPropertySetter::setLuaListItemFromProperty ( lua_State *  L,
const DtString &  propertyName,
const luabind::object &  keyValues,
const DtRwProperties *  inProps,
luabind::object &  outItem,
int &  index 
)

Finds the item in the named list property that matches the specified keyValues and sets outItem with its contents. Returns true if successful, along with the index of the item found.

DT_DLL_vrfLua bool DtPropertySetter::setLuaListItemFromProperty ( lua_State *  L,
const DtString &  propertyName,
const luabind::object &  keyValues,
ConstPrioritizedProperties  inProps,
luabind::object &  outItem,
int &  index 
)
DT_DLL_vrfLua bool DtPropertySetter::setLuaListItemFromProperty ( lua_State *  L,
const DtString &  propertyName,
int  index,
const DtRwProperties *  inProps,
luabind::object &  outItem 
)

Finds the item in the named list property at the given index and sets outItem with its contents. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setLuaListItemFromProperty ( lua_State *  L,
const DtString &  propertyName,
int  index,
ConstPrioritizedProperties  inProps,
luabind::object &  outItem 
)
DT_DLL_vrfLua bool DtPropertySetter::setLuaMapItemFromProperty ( lua_State *  L,
const DtString &  propertyName,
const luabind::object &  keyValue,
const DtRwProperties *  inProps,
luabind::object &  outItem 
)

Finds the item in the named map property that matches the specified keyValue and sets outItem with its contents. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setLuaMapItemFromProperty ( lua_State *  L,
const DtString &  propertyName,
const luabind::object &  keyValue,
ConstPrioritizedProperties  inProps,
luabind::object &  outItem 
)
DT_DLL_vrfLua bool DtPropertySetter::setPropertyFromLua ( const luabind::object &  inProp,
DtPropertyInterface *  outProp 
)

Sets the given property from a Lua object. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromProperty ( lua_State *  L,
const DtPropertyInterface *  inProps,
luabind::object &  outProp 
)

Sets the given Lua object from a property. Returns true if successful.

DT_DLL_vrfLua bool DtPropertySetter::setStringPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setUUIDPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setEntityTypePropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setResourceTypePropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setObjectTypePropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setVerticesPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setOffsetVerticesPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setIntPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setDoublePropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setBoolPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setVectorPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setStructPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setListPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setMapPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtPropertyInterface *  outProp 
)

Lua-to-Property conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromStringProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromEntityTypeProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromObjectTypeProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromVerticesProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromOffsetVerticesProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromIntProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromDoubleProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromBoolProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromVectorProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromStructProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua bool DtPropertySetter::setLuaFromListProp ( lua_State *  L,
const DtString &  propertyName,
const DtPropertyInterface *  inProp,
luabind::object &  outProp 
)

Property-to-Lua conversion functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createStringPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createDoublePropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createBoolPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createTablePropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createCustomPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createStructPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createListPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::createMapPropFromLua ( const DtString &  propertyName,
luabind::object const &  inProp,
DtRwProperties *  parent 
)

Lua-to-Property creation functions.

DT_DLL_vrfLua const DtPropertyInterface* DtPropertySetter::findConstListItem ( const DtRwPropertiesList *  propList,
const luabind::object &  keyValues,
int &  index 
)

Find the item in the list that matches the given keys defined in the keyValues Lua object. Sets the index parameter to the Lua index (where the first item is at index 1).

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::findListItem ( DtRwPropertiesList *  propList,
const luabind::object &  keyValues,
int &  index 
)

Find the item in the list that matches the given keys defined in the keyValues Lua object. Sets the index parameter to the Lua index (where the first item is at index 1).

DT_DLL_vrfLua const DtPropertyInterface* DtPropertySetter::findConstListItemByKeys ( const DtRwPropertiesList *  propList,
const luabind::object &  keyValues,
int &  index 
)

Called by findConstListItem in the case where keyValues is a table of keys that match fields in the structure that defines the format of each item in the list property.

DT_DLL_vrfLua const DtPropertyInterface* DtPropertySetter::findConstListItemByValue ( const DtRwPropertiesList *  propList,
const luabind::object &  keyValues,
int &  index 
)

Called by findConstListItem in the case where keyValues is just a single value that matches a simple data type that matches the type of each item in the list property.

DT_DLL_vrfLua 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.

DT_DLL_vrfLua const DtPropertyInterface* DtPropertySetter::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.

DT_DLL_vrfLua DtPropertyInterface* DtPropertySetter::findMapItem ( DtRwPropertiesMap *  propMap,
const luabind::object &  keyValue 
)

Find the item in the map that matches the given key defined in the keyValue Lua object.

DT_DLL_vrfLua DtPropFromLuaFcnMap& DtPropertySetter::propertyFromLuaFcnMap ( )

The Lua-to-Property by type.

DT_DLL_vrfLua DtLuaFromPropFcnMap& DtPropertySetter::luaFromPropertyFcnMap ( )

The Property-to-Lua by type.

DT_DLL_vrfLua DtPropFromLuaCreatorFcnMap& DtPropertySetter::propertyFromLuaCreatorFcnMap ( )

The Lua-to-Property creator by type.


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)