Interface for constructor objects which generate C++ values from PyObjects. More...
#include <PyQArgConstructor.h>
Public Member Functions | |
virtual QGenericArgument | Create (PyObject *) const =0 |
Create a QGenericArgument from Python values. | |
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 PyObjects.
There shall be exactly one and only one constructor per C++ type. The QPy run-time (indirectly) invokes the QArgConstructor::Create() method whenever the invocation of a method of a QObject derived class instance is requested from Python code.