The python export class for LinkView. More...

#include <LinkViewPy.h>

Public Types

typedef LinkViewPointerType
 
- Public Types inherited from Base::BaseClassPy
typedef BaseClassPointerType
 
- 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
 
PyObjectisDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObjectgetAllDerivedFrom (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...
 
PyObjectgetCustomAttributes (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...
 
BaseClassgetBaseClassPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual)
More...
 
PyObjectBaseIncRef (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 PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from Base::BaseClassPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObjectstaticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObjectstaticCallback_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 PyObjectstaticCallback_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 methods

PyObjectreset (PyObject *args)
 implementer for the reset() method More...
 
PyObjectsetMaterial (PyObject *args)
 implementer for the setMaterial() method More...
 
PyObjectsetType (PyObject *args)
 implementer for the setType() method More...
 
PyObjectsetTransform (PyObject *args)
 implementer for the setTransform() method More...
 
PyObjectsetChildren (PyObject *args)
 implementer for the setChildren() method More...
 
PyObjectsetLink (PyObject *args)
 implementer for the setLink() method More...
 
PyObjectgetDetailPath (PyObject *args)
 implementer for the getDetailPath() method More...
 
PyObjectgetElementPicked (PyObject *args)
 implementer for the getElementPicked() method More...
 
PyObjectgetBoundBox (PyObject *args)
 implementer for the getBoundBox() method More...
 
PyObjectgetChildren (PyObject *args)
 implementer for the getChildren() method More...
 
static PyObjectstaticCallback_reset (PyObject *self, PyObject *args)
 callback for the reset() method More...
 
static PyObjectstaticCallback_setMaterial (PyObject *self, PyObject *args)
 callback for the setMaterial() method More...
 
static PyObjectstaticCallback_setType (PyObject *self, PyObject *args)
 callback for the setType() method More...
 
static PyObjectstaticCallback_setTransform (PyObject *self, PyObject *args)
 callback for the setTransform() method More...
 
static PyObjectstaticCallback_setChildren (PyObject *self, PyObject *args)
 callback for the setChildren() method More...
 
static PyObjectstaticCallback_setLink (PyObject *self, PyObject *args)
 callback for the setLink() method More...
 
static PyObjectstaticCallback_getDetailPath (PyObject *self, PyObject *args)
 callback for the getDetailPath() method More...
 
static PyObjectstaticCallback_getElementPicked (PyObject *self, PyObject *args)
 callback for the getElementPicked() method More...
 
static PyObjectstaticCallback_getBoundBox (PyObject *self, PyObject *args)
 callback for the getBoundBox() method More...
 
static PyObjectstaticCallback_getChildren (PyObject *self, PyObject *args)
 callback for the getChildren() method 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...
 
PyObjectgetCustomAttributes (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...
 
LinkViewgetLinkViewPtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_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 PyObjectstaticCallback_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 PyObjectstaticCallback_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 PyObjectstaticCallback_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 PyObjectstaticCallback_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 PyObjectstaticCallback_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

Constructor & Destructor Documentation

◆ ~LinkViewPy()

LinkViewPy::~LinkViewPy ( )
protected

◆ LinkViewPy()

LinkViewPy::LinkViewPy ( LinkView pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getBoundBox()

PyObject * LinkViewPy::getBoundBox ( PyObject args)

◆ getChildren()

PyObject * LinkViewPy::getChildren ( PyObject args)

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()

◆ getElementPicked()

PyObject * LinkViewPy::getElementPicked ( PyObject args)

◆ getLinkedView()

Py::Object LinkViewPy::getLinkedView ( void  ) const

getter for the LinkedView attribute

References Gui::LinkView::getLinkedView(), and getLinkViewPtr().

Referenced by staticCallback_getLinkedView().

◆ getLinkViewPtr()

◆ 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

◆ getSubNames()

Py::Object LinkViewPy::getSubNames ( void  ) const

getter for the SubNames attribute

References getLinkViewPtr(), and Gui::LinkView::getSubNames().

Referenced by staticCallback_getSubNames().

◆ GetType()

virtual PyTypeObject* Gui::LinkViewPy::GetType ( void  )
virtual

Reimplemented from Base::BaseClassPy.

◆ getVisibilities()

Py::Object LinkViewPy::getVisibilities ( void  ) const

getter for the Visibilities attribute

References getLinkViewPtr().

Referenced by staticCallback_getVisibilities().

◆ PyInit()

int LinkViewPy::PyInit ( PyObject ,
PyObject  
)
virtual

PyInit method Override this method to initialize a newly created instance of the class (Constructor)

Reimplemented from Base::BaseClassPy.

◆ PyMake()

PyObject * LinkViewPy::PyMake ( struct _typeobject *  ,
PyObject ,
PyObject  
)
static

References LinkViewPy().

◆ representation()

◆ reset()

PyObject * LinkViewPy::reset ( PyObject args)

implementer for the reset() method

References getLinkViewPtr().

Referenced by draftguitools.gui_trackers.gridTracker::set(), and staticCallback_reset().

◆ 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()

◆ setMaterial()

PyObject * LinkViewPy::setMaterial ( PyObject args)

◆ setOwner()

void LinkViewPy::setOwner ( Py::Object  arg)

◆ setTransform()

PyObject * LinkViewPy::setTransform ( PyObject args)

◆ setType()

PyObject * LinkViewPy::setType ( PyObject args)

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()

PyObject * LinkViewPy::staticCallback_getChildren ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getCount()

PyObject * LinkViewPy::staticCallback_getCount ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getDetailPath()

◆ staticCallback_getElementPicked()

◆ staticCallback_getLinkedView()

PyObject * LinkViewPy::staticCallback_getLinkedView ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getOwner()

PyObject * LinkViewPy::staticCallback_getOwner ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getRootNode()

PyObject * LinkViewPy::staticCallback_getRootNode ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getSubNames()

PyObject * LinkViewPy::staticCallback_getSubNames ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getVisibilities()

PyObject * LinkViewPy::staticCallback_getVisibilities ( PyObject self,
void *  closure 
)
static

◆ staticCallback_reset()

◆ staticCallback_setChildren()

◆ staticCallback_setCount()

int LinkViewPy::staticCallback_setCount ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setLink()

◆ staticCallback_setLinkedView()

int LinkViewPy::staticCallback_setLinkedView ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the LinkedView attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setMaterial()

◆ staticCallback_setOwner()

int LinkViewPy::staticCallback_setOwner ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setRootNode()

int LinkViewPy::staticCallback_setRootNode ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the RootNode attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setSubNames()

int LinkViewPy::staticCallback_setSubNames ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the SubNames attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setTransform()

◆ staticCallback_setType()

◆ staticCallback_setVisibilities()

int LinkViewPy::staticCallback_setVisibilities ( PyObject self,
PyObject value,
void *  closure 
)
static

Member Data Documentation

◆ GetterSetter

PyGetSetDef LinkViewPy::GetterSetter
static

Attribute structure of LinkViewPy.

◆ Methods

PyMethodDef LinkViewPy::Methods
static

Methods structure of LinkViewPy.

◆ Type


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