Py::PythonClass< T > Class Template Reference

#include <ExtensionType.hxx>

Inheritance diagram for Py::PythonClass< T >:
Py::PythonExtensionBase

List of all members.

Public Member Functions

virtual Object self ()
virtual PyObjectselfPtr ()

Static Public Member Functions

static bool check (const Object &ob)
static bool check (PyObject *p)
static Object type ()
static PyTypeObject * type_object ()

Protected Member Functions

 PythonClass (PythonClassInstance *self, Tuple &args, Dict &kwds)
virtual ~PythonClass ()

Static Protected Member Functions

static void add_method (const char *name, PyCFunction function, int flags, const char *doc=NULL)
static PythonTypebehaviors ()
static void extension_object_deallocator (PyObject *_self)
static int extension_object_init (PyObject *_self, PyObject *args_, PyObject *kwds_)
static PyObjectextension_object_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
static ExtensionClassMethodsTablemethodTable ()

Detailed Description

template<TEMPLATE_TYPENAME T>
class Py::PythonClass< T >

Definition at line 187 of file ExtensionType.hxx.


Constructor & Destructor Documentation

template<TEMPLATE_TYPENAME T>
Py::PythonClass< T >::PythonClass ( PythonClassInstance self,
Tuple args,
Dict kwds 
) [inline, explicit, protected]

Definition at line 191 of file ExtensionType.hxx.

template<TEMPLATE_TYPENAME T>
virtual Py::PythonClass< T >::~PythonClass (  )  [inline, protected, virtual]

Definition at line 197 of file ExtensionType.hxx.


Member Function Documentation

template<TEMPLATE_TYPENAME T>
static void Py::PythonClass< T >::add_method ( const char *  name,
PyCFunction  function,
int  flags,
const char *  doc = NULL 
) [inline, static, protected]

Definition at line 208 of file ExtensionType.hxx.

Referenced by Py::PythonClass< PythonBaseClass >::add_method().

template<TEMPLATE_TYPENAME T>
static PythonType& Py::PythonClass< T >::behaviors (  )  [inline, static, protected]
template<TEMPLATE_TYPENAME T>
static bool Py::PythonClass< T >::check ( const Object ob  )  [inline, static]

Definition at line 321 of file ExtensionType.hxx.

template<TEMPLATE_TYPENAME T>
static bool Py::PythonClass< T >::check ( PyObject p  )  [inline, static]

Definition at line 315 of file ExtensionType.hxx.

Referenced by Py::PythonClass< PythonBaseClass >::check().

template<TEMPLATE_TYPENAME T>
static void Py::PythonClass< T >::extension_object_deallocator ( PyObject _self  )  [inline, static, protected]

Definition at line 293 of file ExtensionType.hxx.

Referenced by Py::PythonClass< PythonBaseClass >::behaviors().

template<TEMPLATE_TYPENAME T>
static int Py::PythonClass< T >::extension_object_init ( PyObject _self,
PyObject args_,
PyObject kwds_ 
) [inline, static, protected]

Definition at line 256 of file ExtensionType.hxx.

Referenced by Py::PythonClass< PythonBaseClass >::behaviors().

template<TEMPLATE_TYPENAME T>
static PyObject* Py::PythonClass< T >::extension_object_new ( PyTypeObject *  subtype,
PyObject args,
PyObject kwds 
) [inline, static, protected]

Definition at line 238 of file ExtensionType.hxx.

Referenced by Py::PythonClass< PythonBaseClass >::behaviors().

template<TEMPLATE_TYPENAME T>
static ExtensionClassMethodsTable& Py::PythonClass< T >::methodTable (  )  [inline, static, protected]

Definition at line 200 of file ExtensionType.hxx.

Referenced by Py::PythonClass< PythonBaseClass >::add_method().

template<TEMPLATE_TYPENAME T>
virtual Object Py::PythonClass< T >::self (  )  [inline, virtual]
template<TEMPLATE_TYPENAME T>
virtual PyObject* Py::PythonClass< T >::selfPtr (  )  [inline, virtual]

Implements Py::PythonExtensionBase.

Definition at line 326 of file ExtensionType.hxx.

template<TEMPLATE_TYPENAME T>
static Object Py::PythonClass< T >::type (  )  [inline, static]

Definition at line 310 of file ExtensionType.hxx.

template<TEMPLATE_TYPENAME T>
static PyTypeObject* Py::PythonClass< T >::type_object (  )  [inline, static]

The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:02:44 2011 for FreeCAD by  doxygen 1.6.1