The python export class for ExternalGeometryExtension. More...
#include <ExternalGeometryExtensionPy.h>
Public Types | |
typedef ExternalGeometryExtension * | PointerType |
Public Types inherited from Part::GeometryExtensionPy | |
typedef GeometryExtension * | PointerType |
Public Types inherited from Base::PyObjectBase | |
typedef void * | PointerType |
enum | Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } |
Public Member Functions | |
ExternalGeometryExtensionPy (ExternalGeometryExtension *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 Part::GeometryExtensionPy | |
GeometryExtensionPy (GeometryExtension *pcObject, PyTypeObject *T=&Type) | |
std::string | representation (void) const |
PyObject * | copy (PyObject *args) |
implementer for the copy() method More... | |
Py::String | getName (void) const |
getter for the Name attribute More... | |
void | setName (Py::String arg) |
setter for the Name 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... | |
GeometryExtension * | getGeometryExtensionPtr (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 Part::GeometryExtensionPy | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
static PyObject * | staticCallback_copy (PyObject *self, PyObject *args) |
callback for the copy() method More... | |
static PyObject * | staticCallback_getName (PyObject *self, void *closure) |
getter callback for the Name attribute More... | |
static int | staticCallback_setName (PyObject *self, PyObject *value, void *closure) |
setter callback for the Name attribute More... | |
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 ExternalGeometryExtensionPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of ExternalGeometryExtensionPy. More... | |
static PyTypeObject | Type |
Type structure of ExternalGeometryExtensionPy. More... | |
Static Public Attributes inherited from Part::GeometryExtensionPy | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of GeometryExtensionPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of GeometryExtensionPy. More... | |
static PyTypeObject | Type |
Type structure of GeometryExtensionPy. More... | |
Static Public Attributes inherited from Base::PyObjectBase | |
static PyMethodDef | Methods [] |
static PyTypeObject | Type |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~ExternalGeometryExtensionPy () | |
Protected Member Functions inherited from Part::GeometryExtensionPy | |
~GeometryExtensionPy () | |
Protected Member Functions inherited from Base::PyObjectBase | |
virtual | ~PyObjectBase () |
destructor More... | |
callbacks and implementers for the python object methods | |
PyObject * | testFlag (PyObject *args) |
implementer for the testFlag() method More... | |
PyObject * | setFlag (PyObject *args) |
implementer for the setFlag() method More... | |
static PyObject * | staticCallback_testFlag (PyObject *self, PyObject *args) |
callback for the testFlag() method More... | |
static PyObject * | staticCallback_setFlag (PyObject *self, PyObject *args) |
callback for the setFlag() method More... | |
callbacks and implementers for the python object attributes | |
Py::String | getRef (void) const |
getter for the Ref attribute More... | |
void | setRef (Py::String arg) |
setter for the Ref 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... | |
ExternalGeometryExtension * | getExternalGeometryExtensionPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getRef (PyObject *self, void *closure) |
getter callback for the Ref attribute More... | |
static int | staticCallback_setRef (PyObject *self, PyObject *value, void *closure) |
setter callback for the Ref attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for ExternalGeometryExtension.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~ExternalGeometryExtensionPy()
|
protected |
◆ ExternalGeometryExtensionPy()
ExternalGeometryExtensionPy::ExternalGeometryExtensionPy | ( | ExternalGeometryExtension * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Referenced by PyMake().
Member Function Documentation
◆ getCustomAttributes()
PyObject * ExternalGeometryExtensionPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getExternalGeometryExtensionPtr()
ExternalGeometryExtension * ExternalGeometryExtensionPy::getExternalGeometryExtensionPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getRef(), representation(), setFlag(), setRef(), and testFlag().
◆ getRef()
Py::String ExternalGeometryExtensionPy::getRef | ( | void | ) | const |
getter for the Ref attribute
References getExternalGeometryExtensionPtr().
Referenced by staticCallback_getRef().
◆ GetType()
|
virtual |
Reimplemented from Part::GeometryExtensionPy.
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Part::GeometryExtensionPy.
◆ PyMake()
|
static |
References ExternalGeometryExtensionPy().
◆ representation()
std::string ExternalGeometryExtensionPy::representation | ( | void | ) | const |
References Sketcher::ExternalGeometryExtension::flag2str, getExternalGeometryExtensionPtr(), Part::GeometryExtensionPy::getName(), Part::GeometryExtension::getName(), Sketcher::ExternalGeometryExtension::getRef(), Sketcher::ExternalGeometryExtension::NumFlags, and testFlag().
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 ExternalGeometryExtensionPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setFlag()
implementer for the setFlag() method
References getExternalGeometryExtensionPtr(), and Sketcher::ExternalGeometryExtension::setFlag().
Referenced by staticCallback_setFlag().
◆ setRef()
void ExternalGeometryExtensionPy::setRef | ( | Py::String | arg | ) |
setter for the Ref attribute
References getExternalGeometryExtensionPtr(), and Sketcher::ExternalGeometryExtension::setRef().
Referenced by staticCallback_setRef().
◆ staticCallback_getRef()
|
static |
getter callback for the Ref attribute
References Base::BaseExceptionFreeCADError, getRef(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setFlag()
|
static |
callback for the setFlag() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), setFlag(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setRef()
|
static |
setter callback for the Ref attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setRef().
◆ staticCallback_testFlag()
|
static |
callback for the testFlag() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and testFlag().
◆ testFlag()
implementer for the testFlag() method
References getExternalGeometryExtensionPtr().
Referenced by representation(), and staticCallback_testFlag().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of ExternalGeometryExtensionPy.
◆ Methods
|
static |
Methods structure of ExternalGeometryExtensionPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.h
- src/Mod/Sketcher/App/ExternalGeometryExtensionPyImp.cpp
- build/webdoc/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp