The python export class for SketchGeometryExtension. More...
#include <SketchGeometryExtensionPy.h>
Public Types | |
typedef SketchGeometryExtension * | 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 | |
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 |
SketchGeometryExtensionPy (SketchGeometryExtension *pcObject, PyTypeObject *T=&Type) | |
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 SketchGeometryExtensionPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of SketchGeometryExtensionPy. More... | |
static PyTypeObject | Type |
Type structure of SketchGeometryExtensionPy. 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 | |
~SketchGeometryExtensionPy () | |
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 attributes | |
Py::Long | getId (void) const |
getter for the Id attribute More... | |
void | setId (Py::Long arg) |
setter for the Id 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... | |
SketchGeometryExtension * | getSketchGeometryExtensionPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getId (PyObject *self, void *closure) |
getter callback for the Id attribute More... | |
static int | staticCallback_setId (PyObject *self, PyObject *value, void *closure) |
setter callback for the Id attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for SketchGeometryExtension.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~SketchGeometryExtensionPy()
|
protected |
◆ SketchGeometryExtensionPy()
SketchGeometryExtensionPy::SketchGeometryExtensionPy | ( | SketchGeometryExtension * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Referenced by PyMake().
Member Function Documentation
◆ getCustomAttributes()
PyObject * SketchGeometryExtensionPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getId()
Py::Long SketchGeometryExtensionPy::getId | ( | void | ) | const |
getter for the Id attribute
References getSketchGeometryExtensionPtr().
Referenced by staticCallback_getId().
◆ getSketchGeometryExtensionPtr()
SketchGeometryExtension * SketchGeometryExtensionPy::getSketchGeometryExtensionPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getId(), PyInit(), representation(), and setId().
◆ 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.
References getSketchGeometryExtensionPtr(), and Sketcher::SketchGeometryExtension::setId().
◆ PyMake()
|
static |
References SketchGeometryExtensionPy().
◆ representation()
std::string SketchGeometryExtensionPy::representation | ( | void | ) | const |
References Sketcher::SketchGeometryExtension::getId(), Part::GeometryExtensionPy::getName(), Part::GeometryExtension::getName(), and getSketchGeometryExtensionPtr().
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 SketchGeometryExtensionPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setId()
void SketchGeometryExtensionPy::setId | ( | Py::Long | arg | ) |
setter for the Id attribute
References getSketchGeometryExtensionPtr(), and Sketcher::SketchGeometryExtension::setId().
Referenced by staticCallback_setId().
◆ staticCallback_getId()
|
static |
getter callback for the Id attribute
References Base::BaseExceptionFreeCADError, getId(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setId()
|
static |
setter callback for the Id attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setId().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of SketchGeometryExtensionPy.
◆ Methods
|
static |
Methods structure of SketchGeometryExtensionPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Sketcher/App/SketchGeometryExtensionPy.h
- src/Mod/Sketcher/App/SketchGeometryExtensionPyImp.cpp
- build/webdoc/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp