Py::MethodTable Class Reference

#include <Extensions.hxx>

List of all members.

Public Member Functions

void add (const char *method_name, PyCFunction f, const char *doc="", int flag=1)
 MethodTable ()
PyMethodDef * table ()
virtual ~MethodTable ()

Static Protected Member Functions

static PyMethodDef method (const char *method_name, PyCFunction f, int flags=1, const char *doc="")

Protected Attributes

PyMethodDef * mt
std::vector< PyMethodDef > t

Detailed Description

Definition at line 77 of file Python2/Extensions.hxx.


Constructor & Destructor Documentation

Py::MethodTable::MethodTable (  ) 

Definition at line 147 of file Python2/cxx_extensions.cxx.

References method(), mt, and t.

Py::MethodTable::~MethodTable (  )  [virtual]

Definition at line 153 of file Python2/cxx_extensions.cxx.

References mt.


Member Function Documentation

void Py::MethodTable::add ( const char *  method_name,
PyCFunction  f,
const char *  doc = "",
int  flag = 1 
)

Definition at line 158 of file Python2/cxx_extensions.cxx.

References method(), mt, and t.

PyMethodDef Py::MethodTable::method ( const char *  method_name,
PyCFunction  f,
int  flags = 1,
const char *  doc = "" 
) [static, protected]

Definition at line 137 of file Python2/cxx_extensions.cxx.

References FemExample::m.

Referenced by add(), and MethodTable().

PyMethodDef * Py::MethodTable::table (  ) 

Definition at line 170 of file Python2/cxx_extensions.cxx.

References mt, and t.

Referenced by Py::ExtensionModuleBase::initialize().


Member Data Documentation

PyMethodDef* Py::MethodTable::mt [protected]

Definition at line 88 of file Python2/Extensions.hxx.

Referenced by add(), MethodTable(), table(), and ~MethodTable().

std::vector<PyMethodDef> Py::MethodTable::t [protected]

Definition at line 87 of file Python2/Extensions.hxx.

Referenced by add(), MethodTable(), and table().


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

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