The python export class for LinkBaseExtension. More...

#include <LinkBaseExtensionPy.h>

Public Types

typedef LinkBaseExtension * PointerType
 
- Public Types inherited from App::DocumentObjectExtensionPy
typedef DocumentObjectExtension * PointerType
 
- Public Types inherited from App::ExtensionPy
typedef Extension * 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)
 
 LinkBaseExtensionPy (LinkBaseExtension *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 App::DocumentObjectExtensionPy
 DocumentObjectExtensionPy (DocumentObjectExtension *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
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...
 
DocumentObjectExtension * getDocumentObjectExtensionPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from App::ExtensionPy
 ExtensionPy (Extension *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
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...
 
Extension * getExtensionPtr (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 App::DocumentObjectExtensionPy
static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from App::ExtensionPy
static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
- 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 LinkBaseExtensionPy. More...
 
static PyMethodDef Methods []
 Methods structure of LinkBaseExtensionPy. More...
 
static PyTypeObject Type
 Type structure of LinkBaseExtensionPy. More...
 
- Static Public Attributes inherited from App::DocumentObjectExtensionPy
static PyGetSetDef GetterSetter []
 Attribute structure of DocumentObjectExtensionPy. More...
 
static PyMethodDef Methods []
 Methods structure of DocumentObjectExtensionPy. More...
 
static PyTypeObject Type
 Type structure of DocumentObjectExtensionPy. More...
 
- Static Public Attributes inherited from App::ExtensionPy
static PyGetSetDef GetterSetter []
 Attribute structure of ExtensionPy. More...
 
static PyMethodDef Methods []
 Methods structure of ExtensionPy. More...
 
static PyTypeObject Type
 Type structure of ExtensionPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~LinkBaseExtensionPy ()
 
- Protected Member Functions inherited from App::DocumentObjectExtensionPy
 ~DocumentObjectExtensionPy ()
 
- Protected Member Functions inherited from App::ExtensionPy
 ~ExtensionPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

PyObject * configLinkProperty (PyObject *args, PyObject *kwd)
 implementer for the configLinkProperty() method More...
 
PyObject * getLinkExtProperty (PyObject *args)
 implementer for the getLinkExtProperty() method More...
 
PyObject * getLinkExtPropertyName (PyObject *args)
 implementer for the getLinkExtPropertyName() method More...
 
PyObject * getLinkPropertyInfo (PyObject *args)
 implementer for the getLinkPropertyInfo() method More...
 
PyObject * setLink (PyObject *args)
 implementer for the setLink() method More...
 
PyObject * cacheChildLabel (PyObject *args)
 implementer for the cacheChildLabel() method More...
 
PyObject * flattenSubname (PyObject *args)
 implementer for the flattenSubname() method More...
 
PyObject * expandSubname (PyObject *args)
 implementer for the expandSubname() method More...
 
static PyObject * staticCallback_configLinkProperty (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the configLinkProperty() method More...
 
static PyObject * staticCallback_getLinkExtProperty (PyObject *self, PyObject *args)
 callback for the getLinkExtProperty() method More...
 
static PyObject * staticCallback_getLinkExtPropertyName (PyObject *self, PyObject *args)
 callback for the getLinkExtPropertyName() method More...
 
static PyObject * staticCallback_getLinkPropertyInfo (PyObject *self, PyObject *args)
 callback for the getLinkPropertyInfo() method More...
 
static PyObject * staticCallback_setLink (PyObject *self, PyObject *args)
 callback for the setLink() method More...
 
static PyObject * staticCallback_cacheChildLabel (PyObject *self, PyObject *args)
 callback for the cacheChildLabel() method More...
 
static PyObject * staticCallback_flattenSubname (PyObject *self, PyObject *args)
 callback for the flattenSubname() method More...
 
static PyObject * staticCallback_expandSubname (PyObject *self, PyObject *args)
 callback for the expandSubname() method More...
 

callbacks and implementers for the python object attributes

Py::List getLinkedChildren (void) const
 getter for the LinkedChildren 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...
 
LinkBaseExtension * getLinkBaseExtensionPtr (void) const
 getter for the object handled by this class More...
 
static PyObject * staticCallback_getLinkedChildren (PyObject *self, void *closure)
 getter callback for the LinkedChildren attribute More...
 
static int staticCallback_setLinkedChildren (PyObject *self, PyObject *value, void *closure)
 setter callback for the LinkedChildren attribute More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for LinkBaseExtension.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~LinkBaseExtensionPy()

LinkBaseExtensionPy::~LinkBaseExtensionPy ( )
protected

◆ LinkBaseExtensionPy()

LinkBaseExtensionPy::LinkBaseExtensionPy ( LinkBaseExtension *  pcObject,
PyTypeObject *  T = &Type 
)

Member Function Documentation

◆ cacheChildLabel()

PyObject * LinkBaseExtensionPy::cacheChildLabel ( PyObject *  args)

◆ configLinkProperty()

PyObject * LinkBaseExtensionPy::configLinkProperty ( PyObject *  args,
PyObject *  kwd 
)

implementer for the configLinkProperty() method

References getLinkBaseExtensionPtr().

Referenced by staticCallback_configLinkProperty().

◆ expandSubname()

PyObject * LinkBaseExtensionPy::expandSubname ( PyObject *  args)

◆ flattenSubname()

PyObject * LinkBaseExtensionPy::flattenSubname ( PyObject *  args)

implementer for the flattenSubname() method

References getLinkBaseExtensionPtr().

Referenced by staticCallback_flattenSubname().

◆ getCustomAttributes()

PyObject * LinkBaseExtensionPy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

◆ getLinkBaseExtensionPtr()

LinkBaseExtension * LinkBaseExtensionPy::getLinkBaseExtensionPtr ( void  ) const

◆ getLinkedChildren()

Py::List LinkBaseExtensionPy::getLinkedChildren ( void  ) const

getter for the LinkedChildren attribute

References getLinkBaseExtensionPtr().

Referenced by staticCallback_getLinkedChildren().

◆ getLinkExtProperty()

PyObject * LinkBaseExtensionPy::getLinkExtProperty ( PyObject *  args)

◆ getLinkExtPropertyName()

PyObject * LinkBaseExtensionPy::getLinkExtPropertyName ( PyObject *  args)

◆ getLinkPropertyInfo()

PyObject * LinkBaseExtensionPy::getLinkPropertyInfo ( PyObject *  args)

implementer for the getLinkPropertyInfo() method

References getLinkBaseExtensionPtr().

Referenced by staticCallback_getLinkPropertyInfo().

◆ GetType()

virtual PyTypeObject* App::LinkBaseExtensionPy::GetType ( void  )
virtual

Reimplemented from App::DocumentObjectExtensionPy.

◆ PyInit()

int LinkBaseExtensionPy::PyInit ( PyObject *  ,
PyObject *   
)
virtual

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

Reimplemented from App::DocumentObjectExtensionPy.

◆ PyMake()

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

◆ representation()

◆ setCustomAttributes()

int LinkBaseExtensionPy::setCustomAttributes ( const char *  attr,
PyObject *  obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

◆ setLink()

PyObject * LinkBaseExtensionPy::setLink ( PyObject *  args)

implementer for the setLink() method

References getLinkBaseExtensionPtr().

Referenced by staticCallback_setLink().

◆ staticCallback_cacheChildLabel()

◆ staticCallback_configLinkProperty()

◆ staticCallback_expandSubname()

◆ staticCallback_flattenSubname()

◆ staticCallback_getLinkedChildren()

PyObject * LinkBaseExtensionPy::staticCallback_getLinkedChildren ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getLinkExtProperty()

◆ staticCallback_getLinkExtPropertyName()

◆ staticCallback_getLinkPropertyInfo()

◆ staticCallback_setLink()

◆ staticCallback_setLinkedChildren()

int LinkBaseExtensionPy::staticCallback_setLinkedChildren ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the LinkedChildren attribute

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

Member Data Documentation

◆ GetterSetter

PyGetSetDef LinkBaseExtensionPy::GetterSetter
static
Initial value:
= {
{"LinkedChildren",
"Return a flattened (in case grouped by plain group) list of linked children",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of LinkBaseExtensionPy.

◆ Methods

PyMethodDef LinkBaseExtensionPy::Methods
static

Methods structure of LinkBaseExtensionPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/App/LinkBaseExtensionPy.h
  • src/App/LinkBaseExtensionPyImp.cpp
  • build/webdoc/src/App/LinkBaseExtensionPy.cpp
static int staticCallback_setLinkedChildren(PyObject *self, PyObject *value, void *closure)
setter callback for the LinkedChildren attribute
Definition: LinkBaseExtensionPy.cpp:704
static PyObject * staticCallback_getLinkedChildren(PyObject *self, void *closure)
getter callback for the LinkedChildren attribute
Definition: LinkBaseExtensionPy.cpp:686