GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • PythonQtCppWrapperFactory.h

This view

  • Original page
  • New address

GeezerVison is showing mevislab.github.io — PythonQt: PythonQtForeignWrapperFactory Class Reference

PythonQt
Public Member Functions | List of all members
PythonQtForeignWrapperFactory Class Referenceabstract

#include <PythonQtCppWrapperFactory.h>

Public Member Functions

 PythonQtForeignWrapperFactory ()
virtual ~PythonQtForeignWrapperFactory ()
virtual PyObject * wrap (const QByteArray &classname, void *ptr)=0
virtual void * unwrap (const QByteArray &classname, PyObject *object)=0

Detailed Description

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.

Constructor & Destructor Documentation

◆ PythonQtForeignWrapperFactory()

PythonQtForeignWrapperFactory::PythonQtForeignWrapperFactory ( )
inline

Definition at line 73 of file PythonQtCppWrapperFactory.h.

73{}

◆ ~PythonQtForeignWrapperFactory()

virtual PythonQtForeignWrapperFactory::~PythonQtForeignWrapperFactory ( )
inlinevirtual

Definition at line 74 of file PythonQtCppWrapperFactory.h.

74{}

Member Function Documentation

◆ 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:
  • PythonQtCppWrapperFactory.h

Generated on for PythonQt by doxygen 1.15.0
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.