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

QArgConstructor implementation for float type. More...

#include <LuaArguments.h>

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

List of all members.

Public Member Functions

QGenericArgument Create (lua_State *L, int idx) const
 Copy float value from Lua stack to data member then create QGenericArgument referencing the data member. The value is converted from a Lua double precision number.
FloatQArgConstructorClone () const
 Make copy through copy constructor.

Detailed Description

QArgConstructor implementation for float type.


Member Function Documentation

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

Copy float value from Lua stack to data member then create QGenericArgument referencing the data member. The value is converted from a Lua double precision number.

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