#include <PythonQtCppWrapperFactory.h>
Factory interface for C++ classes that can be mapped directly from/to Python with other means than PythonQt/QObjects.
Definition at line 69 of file PythonQtCppWrapperFactory.h.
◆ PythonQtForeignWrapperFactory()
| PythonQtForeignWrapperFactory::PythonQtForeignWrapperFactory |
( |
| ) |
|
|
inline |
◆ ~PythonQtForeignWrapperFactory()
| virtual PythonQtForeignWrapperFactory::~PythonQtForeignWrapperFactory |
( |
| ) |
|
|
inlinevirtual |
◆ unwrap()
| virtual void * PythonQtForeignWrapperFactory::unwrap |
( |
const QByteArray & | classname, |
|
|
PyObject * | object ) |
|
pure virtual |
unwrap the given object to a C++ object of type classname if possible Return NULL otherwise.
◆ wrap()
| virtual PyObject * PythonQtForeignWrapperFactory::wrap |
( |
const QByteArray & | classname, |
|
|
void * | ptr ) |
|
pure virtual |
create a Python object (with new reference count), wrapping the given ptr as class of type classname Return NULL (and not Py_None) if the object could not be wrapped.
The documentation for this class was generated from the following file: