The python export class for GeometryStringExtension. More...

#include <GeometryStringExtensionPy.h>

Public Types

typedef GeometryStringExtensionPointerType
 
- 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

 GeometryStringExtensionPy (GeometryStringExtension *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 GeometryStringExtensionPy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometryStringExtensionPy. More...
 
static PyTypeObject Type
 Type structure of GeometryStringExtensionPy. 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

 ~GeometryStringExtensionPy ()
 
- 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::String getValue (void) const
 getter for the Value attribute More...
 
void setValue (Py::String 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...
 
GeometryStringExtensiongetGeometryStringExtensionPtr (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 GeometryStringExtension.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~GeometryStringExtensionPy()

GeometryStringExtensionPy::~GeometryStringExtensionPy ( )
protected

◆ GeometryStringExtensionPy()

GeometryStringExtensionPy::GeometryStringExtensionPy ( GeometryStringExtension pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getCustomAttributes()

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

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

◆ getGeometryStringExtensionPtr()

GeometryStringExtension * GeometryStringExtensionPy::getGeometryStringExtensionPtr ( void  ) const

getter for the object handled by this class

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

◆ GetType()

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

Reimplemented from Part::GeometryExtensionPy.

◆ getValue()

Py::String GeometryStringExtensionPy::getValue ( void  ) const

getter for the Value attribute

References getGeometryStringExtensionPtr().

Referenced by staticCallback_getValue().

◆ PyInit()

int GeometryStringExtensionPy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Part::GeometryExtensionPy.

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

◆ PyMake()

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

◆ representation()

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setValue()

void GeometryStringExtensionPy::setValue ( Py::String  arg)

◆ staticCallback_getValue()

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

◆ staticCallback_setValue()

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

Member Data Documentation

◆ GetterSetter

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

Attribute structure of GeometryStringExtensionPy.

◆ Methods

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

Methods structure of GeometryStringExtensionPy.

◆ Type


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