The python export class for LinkView. More...
#include <LinkViewPy.h>
Public Types | |
typedef LinkView * | 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) |
LinkViewPy (LinkView *pcObject, PyTypeObject *T=&Type) | |
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 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 LinkViewPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of LinkViewPy. More... | |
static PyTypeObject | Type |
Type structure of LinkViewPy. 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 | |
~LinkViewPy () | |
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 attributes | |
Py::Object | getLinkedView (void) const |
getter for the LinkedView attribute More... | |
Py::Object | getSubNames (void) const |
getter for the SubNames attribute More... | |
Py::Object | getRootNode (void) const |
getter for the RootNode attribute More... | |
Py::Object | getOwner (void) const |
getter for the Owner attribute More... | |
void | setOwner (Py::Object arg) |
setter for the Owner attribute More... | |
Py::Object | getVisibilities (void) const |
getter for the Visibilities attribute More... | |
void | setVisibilities (Py::Object arg) |
setter for the Visibilities attribute More... | |
Py::Int | getCount (void) const |
getter for the Count attribute More... | |
void | setCount (Py::Int arg) |
setter for the Count 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... | |
LinkView * | getLinkViewPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getLinkedView (PyObject *self, void *closure) |
getter callback for the LinkedView attribute More... | |
static int | staticCallback_setLinkedView (PyObject *self, PyObject *value, void *closure) |
setter callback for the LinkedView attribute More... | |
static PyObject * | staticCallback_getSubNames (PyObject *self, void *closure) |
getter callback for the SubNames attribute More... | |
static int | staticCallback_setSubNames (PyObject *self, PyObject *value, void *closure) |
setter callback for the SubNames attribute More... | |
static PyObject * | staticCallback_getRootNode (PyObject *self, void *closure) |
getter callback for the RootNode attribute More... | |
static int | staticCallback_setRootNode (PyObject *self, PyObject *value, void *closure) |
setter callback for the RootNode attribute More... | |
static PyObject * | staticCallback_getOwner (PyObject *self, void *closure) |
getter callback for the Owner attribute More... | |
static int | staticCallback_setOwner (PyObject *self, PyObject *value, void *closure) |
setter callback for the Owner attribute More... | |
static PyObject * | staticCallback_getVisibilities (PyObject *self, void *closure) |
getter callback for the Visibilities attribute More... | |
static int | staticCallback_setVisibilities (PyObject *self, PyObject *value, void *closure) |
setter callback for the Visibilities attribute More... | |
static PyObject * | staticCallback_getCount (PyObject *self, void *closure) |
getter callback for the Count attribute More... | |
static int | staticCallback_setCount (PyObject *self, PyObject *value, void *closure) |
setter callback for the Count attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for LinkView.
Member Typedef Documentation
◆ PointerType
typedef LinkView* Gui::LinkViewPy::PointerType |
Constructor & Destructor Documentation
◆ ~LinkViewPy()
|
protected |
◆ LinkViewPy()
Member Function Documentation
◆ getBoundBox()
implementer for the getBoundBox() method
References Gui::LinkView::getBoundBox(), getLinkViewPtr(), and Gui::ViewProviderDocumentObjectPy::Type.
Referenced by staticCallback_getBoundBox().
◆ getChildren()
implementer for the getChildren() method
References Gui::LinkView::getChildren(), and getLinkViewPtr().
Referenced by staticCallback_getChildren().
◆ getCount()
Py::Int LinkViewPy::getCount | ( | void | ) | const |
getter for the Count attribute
References getLinkViewPtr().
Referenced by staticCallback_getCount().
◆ getCustomAttributes()
PyObject * LinkViewPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getDetailPath()
implementer for the getDetailPath() method
References Base::InterpreterSingleton::convertSWIGPointerObj(), Base::InterpreterSingleton::createSWIGPointerObj(), getLinkViewPtr(), Base::Interpreter(), and Gui::LinkView::linkGetDetailPath().
Referenced by staticCallback_getDetailPath().
◆ getElementPicked()
implementer for the getElementPicked() method
References Base::InterpreterSingleton::convertSWIGPointerObj(), getLinkViewPtr(), and Base::Interpreter().
Referenced by staticCallback_getElementPicked().
◆ getLinkedView()
Py::Object LinkViewPy::getLinkedView | ( | void | ) | const |
getter for the LinkedView attribute
References Gui::LinkView::getLinkedView(), and getLinkViewPtr().
Referenced by staticCallback_getLinkedView().
◆ getLinkViewPtr()
LinkView * LinkViewPy::getLinkViewPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getBoundBox(), getChildren(), getCount(), getDetailPath(), getElementPicked(), getLinkedView(), getOwner(), getRootNode(), getSubNames(), getVisibilities(), reset(), setChildren(), setCount(), setLink(), setMaterial(), setOwner(), setTransform(), setType(), and setVisibilities().
◆ getOwner()
Py::Object LinkViewPy::getOwner | ( | void | ) | const |
getter for the Owner attribute
References getLinkViewPtr(), and Gui::LinkView::getOwner().
Referenced by staticCallback_getOwner().
◆ getRootNode()
Py::Object LinkViewPy::getRootNode | ( | void | ) | const |
getter for the RootNode attribute
References Base::InterpreterSingleton::createSWIGPointerObj(), Gui::LinkView::getLinkRoot(), getLinkViewPtr(), and Base::Interpreter().
Referenced by staticCallback_getRootNode().
◆ getSubNames()
Py::Object LinkViewPy::getSubNames | ( | void | ) | const |
getter for the SubNames attribute
References getLinkViewPtr(), and Gui::LinkView::getSubNames().
Referenced by staticCallback_getSubNames().
◆ GetType()
|
virtual |
Reimplemented from Base::BaseClassPy.
◆ getVisibilities()
Py::Object LinkViewPy::getVisibilities | ( | void | ) | const |
getter for the Visibilities attribute
References getLinkViewPtr().
Referenced by staticCallback_getVisibilities().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Base::BaseClassPy.
◆ PyMake()
References LinkViewPy().
◆ representation()
std::string LinkViewPy::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().
◆ reset()
implementer for the reset() method
References getLinkViewPtr().
Referenced by draftguitools.gui_trackers.gridTracker::set(), and staticCallback_reset().
◆ setChildren()
implementer for the setChildren() method
References getLinkViewPtr(), App::PropertyListsT< T, ListT, ParentT >::getValue(), Gui::LinkView::setChildren(), App::PropertyListsT< T, ListT, ParentT >::setPyObject(), and App::PropertyBoolList::setPyObject().
Referenced by staticCallback_setChildren().
◆ setCount()
void LinkViewPy::setCount | ( | Py::Int | arg | ) |
setter for the Count attribute
References getLinkViewPtr(), and Gui::LinkView::setSize().
Referenced by staticCallback_setCount().
◆ setCustomAttributes()
int LinkViewPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setLink()
implementer for the setLink() method
References getLinkViewPtr(), App::PropertyListsT< T, ListT, ParentT >::getValue(), Gui::ViewProviderDocumentObjectPy::getViewProviderDocumentObjectPtr(), Gui::LinkView::setLink(), Gui::LinkView::setLinkViewObject(), App::PropertyListsT< T, ListT, ParentT >::setPyObject(), App::DocumentObjectPy::Type, and Gui::ViewProviderDocumentObjectPy::Type.
Referenced by staticCallback_setLink().
◆ setMaterial()
implementer for the setMaterial() method
References getLinkViewPtr(), App::MaterialPy::getMaterialPtr(), and App::MaterialPy::Type.
Referenced by staticCallback_setMaterial().
◆ setOwner()
void LinkViewPy::setOwner | ( | Py::Object | arg | ) |
setter for the Owner attribute
References getLinkViewPtr(), Gui::LinkView::setOwner(), and Gui::ViewProviderDocumentObjectPy::Type.
Referenced by staticCallback_setOwner().
◆ setTransform()
implementer for the setTransform() method
References getLinkViewPtr(), Base::MatrixPy::getMatrixPtr(), and Base::MatrixPy::Type.
Referenced by staticCallback_setTransform().
◆ setType()
implementer for the setType() method
References getLinkViewPtr(), and Gui::LinkView::setNodeType().
Referenced by staticCallback_setType().
◆ setVisibilities()
void LinkViewPy::setVisibilities | ( | Py::Object | arg | ) |
setter for the Visibilities attribute
References getLinkViewPtr(), and App::PropertyBoolList::setPyObject().
Referenced by staticCallback_setVisibilities().
◆ staticCallback_getBoundBox()
◆ staticCallback_getChildren()
callback for the getChildren() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, getChildren(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getCount()
getter callback for the Count attribute
References Base::BaseExceptionFreeCADError, getCount(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getDetailPath()
◆ staticCallback_getElementPicked()
◆ staticCallback_getLinkedView()
getter callback for the LinkedView attribute
References Base::BaseExceptionFreeCADError, getLinkedView(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getOwner()
getter callback for the Owner attribute
References Base::BaseExceptionFreeCADError, getOwner(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getRootNode()
getter callback for the RootNode attribute
References Base::BaseExceptionFreeCADError, getRootNode(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getSubNames()
getter callback for the SubNames attribute
References Base::BaseExceptionFreeCADError, getSubNames(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getVisibilities()
getter callback for the Visibilities attribute
References Base::BaseExceptionFreeCADError, getVisibilities(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_reset()
callback for the reset() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), reset(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setChildren()
◆ staticCallback_setCount()
|
static |
setter callback for the Count attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setCount().
◆ staticCallback_setLink()
callback for the setLink() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), setLink(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setLinkedView()
|
static |
setter callback for the LinkedView attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setMaterial()
◆ staticCallback_setOwner()
|
static |
setter callback for the Owner attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setOwner().
◆ staticCallback_setRootNode()
|
static |
setter callback for the RootNode attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setSubNames()
|
static |
setter callback for the SubNames attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setTransform()
◆ staticCallback_setType()
callback for the setType() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), setType(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setVisibilities()
|
static |
setter callback for the Visibilities attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setVisibilities().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of LinkViewPy.
◆ Methods
|
static |
Methods structure of LinkViewPy.
◆ Type
|
static |
Type structure of LinkViewPy.
Referenced by ArchPanel.CommandPanelSheet::Activated(), ArchStructure.StructSelectionObserver::addSelection(), Gui::Application::Application(), 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/LinkViewPy.h
- src/Gui/LinkViewPyImp.cpp
- build/webdoc/src/Gui/LinkViewPy.cpp