QLua
Lua-Qt bindings
Public Member Functions
qlua::VariantMapQArgConstructor Class Reference

QArgConstructor implementation for QVariantMap type. More...

#include <LuaArguments.h>

Inheritance diagram for qlua::VariantMapQArgConstructor:
Inheritance graph
[legend]
Collaboration diagram for qlua::VariantMapQArgConstructor:
Collaboration graph
[legend]

List of all members.

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.
VariantMapQArgConstructorClone () const
 Make copy through copy constructor.

Detailed Description

QArgConstructor implementation for QVariantMap type.


Member Function Documentation

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.

Parameters:
Lpointer to Lua stack
idxposition of value on the Lua stack
Returns:
QGenericArgument instance whose data field points to a private data member of this class' instance

Implements qlua::QArgConstructor.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator