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

QArgConstructor implementation for double type. More...

#include <LuaArguments.h>

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

List of all members.

Public Member Functions

QGenericArgument Create (lua_State *L, int idx) const
 Copy double value from Lua stack to data member then create QGenericArgument referencing the data member.
DoubleQArgConstructorClone () const
 Make copy through copy constructor.

Detailed Description

QArgConstructor implementation for double type.


Member Function Documentation

QGenericArgument qlua::DoubleQArgConstructor::Create ( lua_State *  L,
int  idx 
) const [inline, virtual]

Copy double value from Lua stack to data member then create QGenericArgument referencing the data member.

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