The python export class for SelectionObject. More...
#include <SelectionObjectPy.h>
Public Types | |
| typedef SelectionObject * | PointerType |
Public Types inherited from Base::BaseClassPy | |
| typedef BaseClass * | 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 |
| SelectionObjectPy (SelectionObject *pcObject, PyTypeObject *T=&Type) | |
Public Member Functions inherited from Base::BaseClassPy | |
| BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type) | |
| std::string | representation (void) const |
| PyObject * | isDerivedFrom (PyObject *args) |
| implementer for the isDerivedFrom() method More... | |
| PyObject * | getAllDerivedFrom (PyObject *args) |
| implementer for the getAllDerivedFrom() method More... | |
| Py::String | getTypeId (void) const |
| getter for the TypeId attribute More... | |
| Py::String | getModule (void) const |
| getter for the Module 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... | |
| BaseClass * | getBaseClassPtr (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 Base::BaseClassPy | |
| static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
| static PyObject * | staticCallback_isDerivedFrom (PyObject *self, PyObject *args) |
| callback for the isDerivedFrom() method More... | |
| static PyObject * | staticCallback_getAllDerivedFrom (PyObject *self, PyObject *args) |
| callback for the getAllDerivedFrom() method More... | |
| static PyObject * | staticCallback_getTypeId (PyObject *self, void *closure) |
| getter callback for the TypeId attribute More... | |
| static int | staticCallback_setTypeId (PyObject *self, PyObject *value, void *closure) |
| setter callback for the TypeId attribute More... | |
| static PyObject * | staticCallback_getModule (PyObject *self, void *closure) |
| getter callback for the Module attribute More... | |
| static int | staticCallback_setModule (PyObject *self, PyObject *value, void *closure) |
| setter callback for the Module 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 SelectionObjectPy. More... | |
| static PyMethodDef | Methods [] |
| Methods structure of SelectionObjectPy. More... | |
| static PyTypeObject | Type |
| Type structure of SelectionObjectPy. More... | |
Static Public Attributes inherited from Base::BaseClassPy | |
| static PyGetSetDef | GetterSetter [] |
| Attribute structure of BaseClassPy. More... | |
| static PyMethodDef | Methods [] |
| Methods structure of BaseClassPy. More... | |
| static PyTypeObject | Type |
| Type structure of BaseClassPy. More... | |
Static Public Attributes inherited from Base::PyObjectBase | |
| static PyMethodDef | Methods [] |
| static PyTypeObject | Type |
| Py_Header struct from python.h. More... | |
Protected Member Functions | |
| ~SelectionObjectPy () | |
Protected Member Functions inherited from Base::BaseClassPy | |
| ~BaseClassPy () | |
Protected Member Functions inherited from Base::PyObjectBase | |
| virtual | ~PyObjectBase () |
| destructor More... | |
callbacks and implementers for the python object methods | |
| PyObject * | remove (PyObject *args) |
| implementer for the remove() method More... | |
| PyObject * | isObjectTypeOf (PyObject *args) |
| implementer for the isObjectTypeOf() method More... | |
| static PyObject * | staticCallback_remove (PyObject *self, PyObject *args) |
| callback for the remove() method More... | |
| static PyObject * | staticCallback_isObjectTypeOf (PyObject *self, PyObject *args) |
| callback for the isObjectTypeOf() method More... | |
callbacks and implementers for the python object attributes | |
| Py::String | getObjectName (void) const |
| getter for the ObjectName attribute More... | |
| Py::Tuple | getSubElementNames (void) const |
| getter for the SubElementNames attribute More... | |
| Py::String | getFullName (void) const |
| getter for the FullName attribute More... | |
| Py::String | getTypeName (void) const |
| getter for the TypeName attribute More... | |
| Py::String | getDocumentName (void) const |
| getter for the DocumentName attribute More... | |
| Py::Object | getDocument (void) const |
| getter for the Document attribute More... | |
| Py::Object | getObject (void) const |
| getter for the Object attribute More... | |
| Py::Tuple | getSubObjects (void) const |
| getter for the SubObjects attribute More... | |
| Py::Tuple | getPickedPoints (void) const |
| getter for the PickedPoints attribute More... | |
| Py::Boolean | getHasSubObjects (void) const |
| getter for the HasSubObjects 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... | |
| SelectionObject * | getSelectionObjectPtr (void) const |
| getter for the object handled by this class More... | |
| static PyObject * | staticCallback_getObjectName (PyObject *self, void *closure) |
| getter callback for the ObjectName attribute More... | |
| static int | staticCallback_setObjectName (PyObject *self, PyObject *value, void *closure) |
| setter callback for the ObjectName attribute More... | |
| static PyObject * | staticCallback_getSubElementNames (PyObject *self, void *closure) |
| getter callback for the SubElementNames attribute More... | |
| static int | staticCallback_setSubElementNames (PyObject *self, PyObject *value, void *closure) |
| setter callback for the SubElementNames attribute More... | |
| static PyObject * | staticCallback_getFullName (PyObject *self, void *closure) |
| getter callback for the FullName attribute More... | |
| static int | staticCallback_setFullName (PyObject *self, PyObject *value, void *closure) |
| setter callback for the FullName attribute More... | |
| static PyObject * | staticCallback_getTypeName (PyObject *self, void *closure) |
| getter callback for the TypeName attribute More... | |
| static int | staticCallback_setTypeName (PyObject *self, PyObject *value, void *closure) |
| setter callback for the TypeName attribute More... | |
| static PyObject * | staticCallback_getDocumentName (PyObject *self, void *closure) |
| getter callback for the DocumentName attribute More... | |
| static int | staticCallback_setDocumentName (PyObject *self, PyObject *value, void *closure) |
| setter callback for the DocumentName attribute More... | |
| static PyObject * | staticCallback_getDocument (PyObject *self, void *closure) |
| getter callback for the Document attribute More... | |
| static int | staticCallback_setDocument (PyObject *self, PyObject *value, void *closure) |
| setter callback for the Document attribute More... | |
| static PyObject * | staticCallback_getObject (PyObject *self, void *closure) |
| getter callback for the Object attribute More... | |
| static int | staticCallback_setObject (PyObject *self, PyObject *value, void *closure) |
| setter callback for the Object attribute More... | |
| static PyObject * | staticCallback_getSubObjects (PyObject *self, void *closure) |
| getter callback for the SubObjects attribute More... | |
| static int | staticCallback_setSubObjects (PyObject *self, PyObject *value, void *closure) |
| setter callback for the SubObjects attribute More... | |
| static PyObject * | staticCallback_getPickedPoints (PyObject *self, void *closure) |
| getter callback for the PickedPoints attribute More... | |
| static int | staticCallback_setPickedPoints (PyObject *self, PyObject *value, void *closure) |
| setter callback for the PickedPoints attribute More... | |
| static PyObject * | staticCallback_getHasSubObjects (PyObject *self, void *closure) |
| getter callback for the HasSubObjects attribute More... | |
| static int | staticCallback_setHasSubObjects (PyObject *self, PyObject *value, void *closure) |
| setter callback for the HasSubObjects attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
| std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for SelectionObject.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~SelectionObjectPy()
|
protected |
◆ SelectionObjectPy()
| SelectionObjectPy::SelectionObjectPy | ( | SelectionObject * | pcObject, |
| PyTypeObject * | T = &Type |
||
| ) |
Member Function Documentation
◆ getCustomAttributes()
| PyObject * SelectionObjectPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getDocument()
| Py::Object SelectionObjectPy::getDocument | ( | void | ) | const |
getter for the Document attribute
References getObject(), and getSelectionObjectPtr().
Referenced by staticCallback_getDocument().
◆ getDocumentName()
| Py::String SelectionObjectPy::getDocumentName | ( | void | ) | const |
getter for the DocumentName attribute
References getSelectionObjectPtr().
Referenced by staticCallback_getDocumentName().
◆ getFullName()
| Py::String SelectionObjectPy::getFullName | ( | void | ) | const |
getter for the FullName attribute
References getSelectionObjectPtr().
Referenced by staticCallback_getFullName().
◆ getHasSubObjects()
| Py::Boolean SelectionObjectPy::getHasSubObjects | ( | void | ) | const |
getter for the HasSubObjects attribute
References getSelectionObjectPtr().
Referenced by staticCallback_getHasSubObjects().
◆ getObject()
| Py::Object SelectionObjectPy::getObject | ( | void | ) | const |
getter for the Object attribute
References getSelectionObjectPtr().
Referenced by getDocument(), and staticCallback_getObject().
◆ getObjectName()
| Py::String SelectionObjectPy::getObjectName | ( | void | ) | const |
getter for the ObjectName attribute
References getSelectionObjectPtr().
Referenced by staticCallback_getObjectName().
◆ getPickedPoints()
| Py::Tuple SelectionObjectPy::getPickedPoints | ( | void | ) | const |
getter for the PickedPoints attribute
References Gui::SelectionObject::getPickedPoints(), and getSelectionObjectPtr().
Referenced by staticCallback_getPickedPoints().
◆ getSelectionObjectPtr()
| SelectionObject * SelectionObjectPy::getSelectionObjectPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getDocument(), getDocumentName(), getFullName(), getHasSubObjects(), getObject(), getObjectName(), getPickedPoints(), getSubElementNames(), getSubObjects(), getTypeName(), isObjectTypeOf(), and remove().
◆ getSubElementNames()
| Py::Tuple SelectionObjectPy::getSubElementNames | ( | void | ) | const |
getter for the SubElementNames attribute
References getSelectionObjectPtr(), and Gui::SelectionObject::getSubNames().
Referenced by staticCallback_getSubElementNames().
◆ getSubObjects()
| Py::Tuple SelectionObjectPy::getSubObjects | ( | void | ) | const |
getter for the SubObjects attribute
References Gui::SelectionObject::getObject(), getSelectionObjectPtr(), and App::DocumentObject::getSubObject().
Referenced by staticCallback_getSubObjects().
◆ GetType()
|
virtual |
Reimplemented from Base::BaseClassPy.
◆ getTypeName()
| Py::String SelectionObjectPy::getTypeName | ( | void | ) | const |
getter for the TypeName attribute
References getSelectionObjectPtr().
Referenced by staticCallback_getTypeName().
◆ isObjectTypeOf()
implementer for the isObjectTypeOf() method
References Base::Type::fromName(), getSelectionObjectPtr(), and Gui::SelectionObject::isObjectTypeOf().
Referenced by staticCallback_isObjectTypeOf().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Base::BaseClassPy.
◆ PyMake()
◆ remove()
implementer for the remove() method
References getSelectionObjectPtr(), Gui::SelectionSingleton::rmvSelection(), and Gui::Selection().
Referenced by staticCallback_remove().
◆ representation()
| std::string SelectionObjectPy::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 SelectionObjectPy::setCustomAttributes | ( | const char * | attr, |
| PyObject * | obj | ||
| ) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ staticCallback_getDocument()
getter callback for the Document attribute
References Base::BaseExceptionFreeCADError, getDocument(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getDocumentName()
|
static |
getter callback for the DocumentName attribute
References Base::BaseExceptionFreeCADError, getDocumentName(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getFullName()
getter callback for the FullName attribute
References Base::BaseExceptionFreeCADError, getFullName(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getHasSubObjects()
|
static |
getter callback for the HasSubObjects attribute
References Base::BaseExceptionFreeCADError, getHasSubObjects(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getObject()
getter callback for the Object attribute
References Base::BaseExceptionFreeCADError, getObject(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getObjectName()
|
static |
getter callback for the ObjectName attribute
References Base::BaseExceptionFreeCADError, getObjectName(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getPickedPoints()
|
static |
getter callback for the PickedPoints attribute
References Base::BaseExceptionFreeCADError, getPickedPoints(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getSubElementNames()
|
static |
getter callback for the SubElementNames attribute
References Base::BaseExceptionFreeCADError, getSubElementNames(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getSubObjects()
|
static |
getter callback for the SubObjects attribute
References Base::BaseExceptionFreeCADError, getSubObjects(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getTypeName()
getter callback for the TypeName attribute
References Base::BaseExceptionFreeCADError, getTypeName(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_isObjectTypeOf()
◆ staticCallback_remove()
callback for the remove() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), remove(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setDocument()
|
static |
setter callback for the Document attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setDocumentName()
|
static |
setter callback for the DocumentName attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setFullName()
|
static |
setter callback for the FullName attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setHasSubObjects()
|
static |
setter callback for the HasSubObjects attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setObject()
|
static |
setter callback for the Object attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setObjectName()
|
static |
setter callback for the ObjectName attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setPickedPoints()
|
static |
setter callback for the PickedPoints attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setSubElementNames()
|
static |
setter callback for the SubElementNames attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setSubObjects()
|
static |
setter callback for the SubObjects attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setTypeName()
|
static |
setter callback for the TypeName attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of SelectionObjectPy.
◆ Methods
|
static |
Methods structure of SelectionObjectPy.
◆ Type
|
static |
Type structure of SelectionObjectPy.
Referenced by ArchPanel.CommandPanelSheet::Activated(), ArchStructure.StructSelectionObserver::addSelection(), ArchSite.Compass::buildCoordinates(), ArchComponent.Component::execute(), DraftLayer.LayerContainer::execute(), ArchSchedule.CommandArchSchedule::IsActive(), ArchAxis.CommandArchGrid::IsActive(), draftobjects.draft_annotation.DraftAnnotation::onDocumentRestored(), ArchReference.ArchReference::setProperties(), and DraftLayer.Layer::setProperties().
The documentation for this class was generated from the following files:
- build/webdoc/src/Gui/SelectionObjectPy.h
- src/Gui/SelectionObjectPyImp.cpp
- build/webdoc/src/Gui/SelectionObjectPy.cpp
Public Types inherited from
1.8.17