|
QLua
Lua-Qt bindings
|
Interface for constructor objects which generate C++ values from Lua values read from the Lua stack. More...
#include <LuaArguments.h>

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 QArgConstructor * | Clone () const =0 |
| Create a new instance of the current class. | |
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.
1.7.4