#include <ExtensionOldType.hxx>
Public Member Functions | |
virtual Object | getattr (const char *name) |
Object | self () |
PyObject * | selfPtr () |
Static Public Member Functions | |
static bool | check (const Object &ob) |
static bool | check (PyObject *p) |
static PyTypeObject * | type_object () |
Protected Types | |
typedef Object(T::* | method_keyword_function_t )(const Tuple &args, const Dict &kws) |
typedef std::map< std::string, MethodDefExt< T > * > | method_map_t |
typedef Object(T::* | method_noargs_function_t )() |
typedef Object(T::* | method_varargs_function_t )(const Tuple &args) |
Protected Member Functions | |
virtual Object | getattr_default (const char *_name) |
virtual Object | getattr_methods (const char *_name) |
PythonExtension () | |
virtual | ~PythonExtension () |
Static Protected Member Functions | |
static void | add_keyword_method (const char *name, method_keyword_function_t function, const char *doc="") |
static void | add_noargs_method (const char *name, method_noargs_function_t function, const char *doc="") |
static void | add_varargs_method (const char *name, method_varargs_function_t function, const char *doc="") |
static PythonType & | behaviors () |
static void | check_unique_method_name (const char *name) |
Definition at line 43 of file ExtensionOldType.hxx.
typedef Object(T::* Py::PythonExtension< T >::method_keyword_function_t)(const Tuple &args, const Dict &kws) [protected] |
Definition at line 114 of file ExtensionOldType.hxx.
typedef std::map<std::string, MethodDefExt<T> *> Py::PythonExtension< T >::method_map_t [protected] |
Definition at line 115 of file ExtensionOldType.hxx.
typedef Object(T::* Py::PythonExtension< T >::method_noargs_function_t)() [protected] |
Definition at line 112 of file ExtensionOldType.hxx.
typedef Object(T::* Py::PythonExtension< T >::method_varargs_function_t)(const Tuple &args) [protected] |
Definition at line 113 of file ExtensionOldType.hxx.
Py::PythonExtension< T >::PythonExtension | ( | ) | [inline, explicit, protected] |
Definition at line 83 of file ExtensionOldType.hxx.
virtual Py::PythonExtension< T >::~PythonExtension | ( | ) | [inline, protected, virtual] |
Definition at line 92 of file ExtensionOldType.hxx.
static void Py::PythonExtension< T >::add_keyword_method | ( | const char * | name, | |
method_keyword_function_t | function, | |||
const char * | doc = "" | |||
) | [inline, static, protected] |
Definition at line 212 of file ExtensionOldType.hxx.
static void Py::PythonExtension< T >::add_noargs_method | ( | const char * | name, | |
method_noargs_function_t | function, | |||
const char * | doc = "" | |||
) | [inline, static, protected] |
Definition at line 198 of file ExtensionOldType.hxx.
static void Py::PythonExtension< T >::add_varargs_method | ( | const char * | name, | |
method_varargs_function_t | function, | |||
const char * | doc = "" | |||
) | [inline, static, protected] |
Definition at line 205 of file ExtensionOldType.hxx.
Referenced by Fem::SMESH_HypothesisPy< T >::init_type().
static PythonType& Py::PythonExtension< T >::behaviors | ( | ) | [inline, static, protected] |
Definition at line 95 of file ExtensionOldType.hxx.
Referenced by Fem::SMESH_HypothesisPy< T >::init_type(), Py::PythonExtension< StdMeshers_Deflection1DPy >::PythonExtension(), and Py::PythonExtension< StdMeshers_Deflection1DPy >::type_object().
static bool Py::PythonExtension< T >::check | ( | const Object & | ob | ) | [inline, static] |
Definition at line 58 of file ExtensionOldType.hxx.
static bool Py::PythonExtension< T >::check | ( | PyObject * | p | ) | [inline, static] |
Definition at line 52 of file ExtensionOldType.hxx.
Referenced by Py::PythonExtension< StdMeshers_Deflection1DPy >::check().
static void Py::PythonExtension< T >::check_unique_method_name | ( | const char * | name | ) | [inline, static, protected] |
virtual Object Py::PythonExtension< T >::getattr | ( | const char * | name | ) | [inline, virtual] |
Reimplemented from Py::PythonExtensionBase.
Reimplemented in Gui::View3DInventorPy, Fem::SMESH_HypothesisPy< T >, Sandbox::DocumentProtectorPy, Sandbox::DocumentObjectProtectorPy, TestGui::UnitTestDialogPy, Fem::SMESH_HypothesisPy< StdMeshers_ProjectionSource2DPy >, Fem::SMESH_HypothesisPy< StdMeshers_QuadraticMeshPy >, Fem::SMESH_HypothesisPy< StdMeshers_ProjectionSource1DPy >, Fem::SMESH_HypothesisPy< StdMeshers_SegmentAroundVertex_0DPy >, Fem::SMESH_HypothesisPy< StdMeshers_NotConformAllowedPy >, Fem::SMESH_HypothesisPy< StdMeshers_LocalLengthPy >, Fem::SMESH_HypothesisPy< StdMeshers_Regular_1DPy >, Fem::SMESH_HypothesisPy< StdMeshers_NumberOfLayersPy >, Fem::SMESH_HypothesisPy< StdMeshers_MaxElementVolumePy >, Fem::SMESH_HypothesisPy< StdMeshers_StartEndLengthPy >, Fem::SMESH_HypothesisPy< StdMeshers_CompositeSegment_1DPy >, Fem::SMESH_HypothesisPy< StdMeshers_UseExisting_1DPy >, Fem::SMESH_HypothesisPy< StdMeshers_RadialPrism_3DPy >, Fem::SMESH_HypothesisPy< StdMeshers_NumberOfSegmentsPy >, Fem::SMESH_HypothesisPy< StdMeshers_Quadrangle_2DPy >, Fem::SMESH_HypothesisPy< StdMeshers_Projection_3DPy >, Fem::SMESH_HypothesisPy< StdMeshers_Projection_2DPy >, Fem::SMESH_HypothesisPy< StdMeshers_Projection_1DPy >, Fem::SMESH_HypothesisPy< StdMeshers_UseExisting_2DPy >, Fem::SMESH_HypothesisPy< StdMeshers_MEFISTO_2DPy >, Fem::SMESH_HypothesisPy< StdMeshers_Arithmetic1DPy >, Fem::SMESH_HypothesisPy< StdMeshers_Prism_3DPy >, Fem::SMESH_HypothesisPy< StdMeshers_LengthFromEdgesPy >, Fem::SMESH_HypothesisPy< StdMeshers_QuadranglePreferencePy >, Fem::SMESH_HypothesisPy< StdMeshers_MaxElementAreaPy >, Fem::SMESH_HypothesisPy< StdMeshers_SegmentLengthAroundVertexPy >, Fem::SMESH_HypothesisPy< StdMeshers_MaxLengthPy >, Fem::SMESH_HypothesisPy< StdMeshers_Hexa_3DPy >, Fem::SMESH_HypothesisPy< StdMeshers_AutomaticLengthPy >, Fem::SMESH_HypothesisPy< StdMeshers_LayerDistributionPy >, Fem::SMESH_HypothesisPy< StdMeshers_ProjectionSource3DPy >, Fem::SMESH_HypothesisPy< StdMeshers_TrianglePreferencePy >, and Fem::SMESH_HypothesisPy< StdMeshers_Deflection1DPy >.
Definition at line 67 of file ExtensionOldType.hxx.
Referenced by Gui::PythonDebuggerP::PythonDebuggerP().
virtual Object Py::PythonExtension< T >::getattr_default | ( | const char * | _name | ) | [inline, protected, virtual] |
Definition at line 118 of file ExtensionOldType.hxx.
virtual Object Py::PythonExtension< T >::getattr_methods | ( | const char * | _name | ) | [inline, protected, virtual] |
Definition at line 150 of file ExtensionOldType.hxx.
Referenced by Py::PythonExtension< StdMeshers_Deflection1DPy >::getattr(), and Py::PythonExtension< StdMeshers_Deflection1DPy >::getattr_default().
Object Py::PythonExtension< T >::self | ( | ) | [inline, virtual] |
Implements Py::PythonExtensionBase.
Definition at line 77 of file ExtensionOldType.hxx.
PyObject* Py::PythonExtension< T >::selfPtr | ( | ) | [inline, virtual] |
Implements Py::PythonExtensionBase.
Definition at line 72 of file ExtensionOldType.hxx.
static PyTypeObject* Py::PythonExtension< T >::type_object | ( | ) | [inline, static] |
Definition at line 47 of file ExtensionOldType.hxx.
Referenced by Py::PythonExtension< StdMeshers_Deflection1DPy >::check(), Py::PythonExtension< StdMeshers_Deflection1DPy >::getattr_default(), Fem::SMESH_HypothesisPy< T >::init_type(), and Py::PythonExtension< StdMeshers_Deflection1DPy >::PythonExtension().