The python export class for AttachExtension. More...
#include <AttachExtensionPy.h>
Public Types | |
typedef AttachExtension * | PointerType |
Public Types inherited from App::DocumentObjectExtensionPy | |
typedef DocumentObjectExtension * | PointerType |
Public Types inherited from App::ExtensionPy | |
typedef Extension * | PointerType |
Public Types inherited from Base::PyObjectBase | |
typedef void * | PointerType |
enum | Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } |
Public Member Functions | |
AttachExtensionPy (AttachExtension *pcObject, PyTypeObject *T=&Type) | |
virtual PyTypeObject * | GetType (void) |
virtual int | PyInit (PyObject *args, PyObject *k) |
PyInit method Override this method to initialize a newly created instance of the class (Constructor) More... | |
std::string | representation (void) const |
Public Member Functions inherited from App::DocumentObjectExtensionPy | |
DocumentObjectExtensionPy (DocumentObjectExtension *pcObject, PyTypeObject *T=&Type) | |
std::string | representation (void) const |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) More... | |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. More... | |
DocumentObjectExtension * | getDocumentObjectExtensionPtr (void) const |
getter for the object handled by this class More... | |
Public Member Functions inherited from App::ExtensionPy | |
ExtensionPy (Extension *pcObject, PyTypeObject *T=&Type) | |
std::string | representation (void) const |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) More... | |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. More... | |
Extension * | getExtensionPtr (void) const |
getter for the object handled by this class More... | |
Public Member Functions inherited from Base::PyObjectBase | |
PyObjectBase * | DecRef (void) |
decref method wrapper (see python extending manual) More... | |
PyObjectBase * | IncRef (void) |
incref method wrapper (see python extending manual) More... | |
bool | isConst () |
bool | isNotTracking () const |
bool | isValid () |
PyObjectBase (void *, PyTypeObject *T) | |
Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More... | |
void | setConst () |
void | setInvalid () |
void | setNotTracking (bool on=true) |
void | setShouldNotify (bool on) |
bool | shouldNotify () const |
void | startNotify () |
Static Public Member Functions | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Member Functions inherited from App::DocumentObjectExtensionPy | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Member Functions inherited from App::ExtensionPy | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Member Functions inherited from Base::PyObjectBase | |
static void | PyDestructor (PyObject *P) |
Wrapper for the Python destructor. More... | |
Static Public Attributes | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of AttachExtensionPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of AttachExtensionPy. More... | |
static PyTypeObject | Type |
Type structure of AttachExtensionPy. More... | |
Static Public Attributes inherited from App::DocumentObjectExtensionPy | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of DocumentObjectExtensionPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of DocumentObjectExtensionPy. More... | |
static PyTypeObject | Type |
Type structure of DocumentObjectExtensionPy. More... | |
Static Public Attributes inherited from App::ExtensionPy | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of ExtensionPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of ExtensionPy. More... | |
static PyTypeObject | Type |
Type structure of ExtensionPy. More... | |
Static Public Attributes inherited from Base::PyObjectBase | |
static PyMethodDef | Methods [] |
static PyTypeObject | Type |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~AttachExtensionPy () | |
Protected Member Functions inherited from App::DocumentObjectExtensionPy | |
~DocumentObjectExtensionPy () | |
Protected Member Functions inherited from App::ExtensionPy | |
~ExtensionPy () | |
Protected Member Functions inherited from Base::PyObjectBase | |
virtual | ~PyObjectBase () |
destructor More... | |
callbacks and implementers for the python object methods | |
PyObject * | positionBySupport (PyObject *args) |
implementer for the positionBySupport() method More... | |
PyObject * | changeAttacherType (PyObject *args) |
implementer for the changeAttacherType() method More... | |
static PyObject * | staticCallback_positionBySupport (PyObject *self, PyObject *args) |
callback for the positionBySupport() method More... | |
static PyObject * | staticCallback_changeAttacherType (PyObject *self, PyObject *args) |
callback for the changeAttacherType() method More... | |
callbacks and implementers for the python object attributes | |
Py::Object | getAttacher (void) const |
getter for the Attacher attribute More... | |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) More... | |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. More... | |
AttachExtension * | getAttachExtensionPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getAttacher (PyObject *self, void *closure) |
getter callback for the Attacher attribute More... | |
static int | staticCallback_setAttacher (PyObject *self, PyObject *value, void *closure) |
setter callback for the Attacher attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for AttachExtension.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~AttachExtensionPy()
|
protected |
◆ AttachExtensionPy()
AttachExtensionPy::AttachExtensionPy | ( | AttachExtension * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Member Function Documentation
◆ changeAttacherType()
implementer for the changeAttacherType() method
References Base::BaseExceptionFreeCADError, Part::AttachExtension::changeAttacherType(), getAttachExtensionPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_changeAttacherType().
◆ getAttacher()
Py::Object AttachExtensionPy::getAttacher | ( | void | ) | const |
getter for the Attacher attribute
References Part::AttachExtension::attacher(), Base::BaseExceptionFreeCADError, getAttachExtensionPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_getAttacher().
◆ getAttachExtensionPtr()
AttachExtension * AttachExtensionPy::getAttachExtensionPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by changeAttacherType(), getAttacher(), and positionBySupport().
◆ getCustomAttributes()
PyObject * AttachExtensionPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ GetType()
|
virtual |
Reimplemented from App::DocumentObjectExtensionPy.
◆ positionBySupport()
implementer for the positionBySupport() method
References Base::BaseExceptionFreeCADError, getAttachExtensionPtr(), Part::PartExceptionOCCError, and Part::AttachExtension::positionBySupport().
Referenced by staticCallback_positionBySupport().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from App::DocumentObjectExtensionPy.
◆ PyMake()
◆ representation()
std::string AttachExtensionPy::representation | ( | void | ) | const |
Referenced by config_control_design.pcurve::wr1(), config_control_design.degenerate_pcurve::wr1(), automotive_design.motion_link_relationship::wr1(), automotive_design.pcurve::wr1(), automotive_design.degenerate_pcurve::wr1(), config_control_design.pcurve::wr2(), config_control_design.degenerate_pcurve::wr2(), automotive_design.pcurve::wr2(), and automotive_design.degenerate_pcurve::wr2().
◆ setCustomAttributes()
int AttachExtensionPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ staticCallback_changeAttacherType()
◆ staticCallback_getAttacher()
getter callback for the Attacher attribute
References Base::BaseExceptionFreeCADError, getAttacher(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_positionBySupport()
◆ staticCallback_setAttacher()
|
static |
setter callback for the Attacher attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of AttachExtensionPy.
◆ Methods
|
static |
Methods structure of AttachExtensionPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Part/App/AttachExtensionPy.h
- src/Mod/Part/App/AttachExtensionPyImp.cpp
- build/webdoc/src/Mod/Part/App/AttachExtensionPy.cpp