The python export class for GeometryIntExtension. More...

#include <GeometryIntExtensionPy.h>

Public Types

typedef GeometryIntExtensionPointerType
 
- Public Types inherited from Part::GeometryExtensionPy
typedef GeometryExtensionPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

 GeometryIntExtensionPy (GeometryIntExtension *pcObject, PyTypeObject *T=&Type)
 
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
 
- Public Member Functions inherited from Part::GeometryExtensionPy
 GeometryExtensionPy (GeometryExtension *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectcopy (PyObject *args)
 implementer for the copy() method More...
 
Py::String getName (void) const
 getter for the Name attribute More...
 
void setName (Py::String arg)
 setter for the Name 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...
 
GeometryExtensiongetGeometryExtensionPtr (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 Part::GeometryExtensionPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_copy (PyObject *self, PyObject *args)
 callback for the copy() method More...
 
static PyObjectstaticCallback_getName (PyObject *self, void *closure)
 getter callback for the Name attribute More...
 
static int staticCallback_setName (PyObject *self, PyObject *value, void *closure)
 setter callback for the Name 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 GeometryIntExtensionPy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometryIntExtensionPy. More...
 
static PyTypeObject Type
 Type structure of GeometryIntExtensionPy. More...
 
- Static Public Attributes inherited from Part::GeometryExtensionPy
static PyGetSetDef GetterSetter []
 Attribute structure of GeometryExtensionPy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometryExtensionPy. More...
 
static PyTypeObject Type
 Type structure of GeometryExtensionPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~GeometryIntExtensionPy ()
 
- Protected Member Functions inherited from Part::GeometryExtensionPy
 ~GeometryExtensionPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object attributes

Py::Long getValue (void) const
 getter for the Value attribute More...
 
void setValue (Py::Long arg)
 setter for the Value 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...
 
GeometryIntExtensiongetGeometryIntExtensionPtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getValue (PyObject *self, void *closure)
 getter callback for the Value attribute More...
 
static int staticCallback_setValue (PyObject *self, PyObject *value, void *closure)
 setter callback for the Value attribute More...
 

Additional Inherited Members

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

Detailed Description

The python export class for GeometryIntExtension.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~GeometryIntExtensionPy()

GeometryIntExtensionPy::~GeometryIntExtensionPy ( )
protected

◆ GeometryIntExtensionPy()

GeometryIntExtensionPy::GeometryIntExtensionPy ( GeometryIntExtension pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getCustomAttributes()

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

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

◆ getGeometryIntExtensionPtr()

GeometryIntExtension * GeometryIntExtensionPy::getGeometryIntExtensionPtr ( void  ) const

getter for the object handled by this class

Referenced by getValue(), PyInit(), representation(), and setValue().

◆ GetType()

virtual PyTypeObject* Part::GeometryIntExtensionPy::GetType ( void  )
virtual

Reimplemented from Part::GeometryExtensionPy.

◆ getValue()

Py::Long GeometryIntExtensionPy::getValue ( void  ) const

getter for the Value attribute

References getGeometryIntExtensionPtr().

Referenced by staticCallback_getValue().

◆ PyInit()

int GeometryIntExtensionPy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Part::GeometryExtensionPy.

References getGeometryIntExtensionPtr(), Part::GeometryExtension::setName(), and Part::GeometryDefaultExtension< T >::setValue().

◆ PyMake()

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

◆ representation()

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setValue()

void GeometryIntExtensionPy::setValue ( Py::Long  arg)

setter for the Value attribute

References getGeometryIntExtensionPtr(), and Part::GeometryDefaultExtension< T >::setValue().

Referenced by staticCallback_setValue().

◆ staticCallback_getValue()

PyObject * GeometryIntExtensionPy::staticCallback_getValue ( PyObject self,
void *  closure 
)
static

◆ staticCallback_setValue()

int GeometryIntExtensionPy::staticCallback_setValue ( PyObject self,
PyObject value,
void *  closure 
)
static

Member Data Documentation

◆ GetterSetter

PyGetSetDef GeometryIntExtensionPy::GetterSetter
static
Initial value:
= {
{"Value",
"\n returns the value of the GeometryIntExtension.\n ",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of GeometryIntExtensionPy.

◆ Methods

PyMethodDef GeometryIntExtensionPy::Methods
static
Initial value:
= {
{NULL, NULL, 0, NULL}
}

Methods structure of GeometryIntExtensionPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Part/App/GeometryIntExtensionPy.h
  • src/Mod/Part/App/GeometryIntExtensionPyImp.cpp
  • build/webdoc/src/Mod/Part/App/GeometryIntExtensionPy.cpp
static PyObject * staticCallback_getValue(PyObject *self, void *closure)
getter callback for the Value attribute
Definition: GeometryIntExtensionPy.cpp:99
static int staticCallback_setValue(PyObject *self, PyObject *value, void *closure)
setter callback for the Value attribute
Definition: GeometryIntExtensionPy.cpp:117