QLua
Lua-Qt bindings
Public Member Functions
qlua::QArgConstructor Struct Reference

Interface for constructor objects which generate C++ values from Lua values read from the Lua stack. More...

#include <LuaArguments.h>

Inheritance diagram for qlua::QArgConstructor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual QGenericArgument Create (lua_State *, int) const =0
 Create a QGenericArgument from Lua values on the Lua stack.
virtual ~QArgConstructor ()
 Virtual destructor.
virtual QArgConstructorClone () const =0
 Create a new instance of the current class.

Detailed Description

Interface for constructor objects which generate C++ values from Lua values read from the Lua stack.

There shall be exactly one and only one constructor per C++ type. The QLua run-time (indirectly) invokes the QArgConstructor::Create() method whenever the invocation of a method of a QObject derived class instance is requested from Lua code.


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