The python export class for LinkBaseExtension. More...

#include <LinkBaseExtensionPy.h>

Public Types

typedef LinkBaseExtensionPointerType
 
- Public Types inherited from App::DocumentObjectExtensionPy
typedef DocumentObjectExtensionPointerType
 
- Public Types inherited from App::ExtensionPy
typedef ExtensionPointerType
 
- 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
 
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...
 
DocumentObjectExtensiongetDocumentObjectExtensionPtr (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
 
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...
 
ExtensiongetExtensionPtr (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 App::DocumentObjectExtensionPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from App::ExtensionPy
static PyObjectPyMake (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

PyObjectconfigLinkProperty (PyObject *args, PyObject *kwd)
 implementer for the configLinkProperty() method More...
 
PyObjectgetLinkExtProperty (PyObject *args)
 implementer for the getLinkExtProperty() method More...
 
PyObjectgetLinkExtPropertyName (PyObject *args)
 implementer for the getLinkExtPropertyName() method More...
 
PyObjectgetLinkPropertyInfo (PyObject *args)
 implementer for the getLinkPropertyInfo() method More...
 
PyObjectsetLink (PyObject *args)
 implementer for the setLink() method More...
 
PyObjectcacheChildLabel (PyObject *args)
 implementer for the cacheChildLabel() method More...
 
PyObjectflattenSubname (PyObject *args)
 implementer for the flattenSubname() method More...
 
PyObjectexpandSubname (PyObject *args)
 implementer for the expandSubname() method More...
 
static PyObjectstaticCallback_configLinkProperty (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the configLinkProperty() method More...
 
static PyObjectstaticCallback_getLinkExtProperty (PyObject *self, PyObject *args)
 callback for the getLinkExtProperty() method More...
 
static PyObjectstaticCallback_getLinkExtPropertyName (PyObject *self, PyObject *args)
 callback for the getLinkExtPropertyName() method More...
 
static PyObjectstaticCallback_getLinkPropertyInfo (PyObject *self, PyObject *args)
 callback for the getLinkPropertyInfo() method More...
 
static PyObjectstaticCallback_setLink (PyObject *self, PyObject *args)
 callback for the setLink() method More...
 
static PyObjectstaticCallback_cacheChildLabel (PyObject *self, PyObject *args)
 callback for the cacheChildLabel() method More...
 
static PyObjectstaticCallback_flattenSubname (PyObject *self, PyObject *args)
 callback for the flattenSubname() method More...
 
static PyObjectstaticCallback_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...
 
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...
 
LinkBaseExtensiongetLinkBaseExtensionPtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_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