|
QLua
Lua-Qt bindings
|
QArgConstructor implementation for QVariantMap type.
More...
#include <LuaArguments.h>


Public Member Functions | |
| QGenericArgument | Create (lua_State *L, int idx) const |
Copy Lua value in table format from Lua stack to QVariantMap data member then create QGenericArgument referencing the data member. | |
| VariantMapQArgConstructor * | Clone () const |
| Make copy through copy constructor. | |
QArgConstructor implementation for QVariantMap type.
| QGenericArgument qlua::VariantMapQArgConstructor::Create | ( | lua_State * | L, |
| int | idx | ||
| ) | const [inline, virtual] |
Copy Lua value in table format from Lua stack to QVariantMap data member then create QGenericArgument referencing the data member.
The value is converted by (possibly) recursively calling the ParseLuaTable function.
| L | pointer to Lua stack |
| idx | position of value on the Lua stack |
data field points to a private data member of this class' instance Implements qlua::QArgConstructor.
1.7.4