The python export class for SketchGeometryExtension. More...

#include <SketchGeometryExtensionPy.h>

Public Types

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

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
 
 SketchGeometryExtensionPy (SketchGeometryExtension *pcObject, PyTypeObject *T=&Type)
 
- 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 SketchGeometryExtensionPy. More...
 
static PyMethodDef Methods []
 Methods structure of SketchGeometryExtensionPy. More...
 
static PyTypeObject Type
 Type structure of SketchGeometryExtensionPy. 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

 ~SketchGeometryExtensionPy ()
 
- 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 getId (void) const
 getter for the Id attribute More...
 
void setId (Py::Long arg)
 setter for the Id 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...
 
SketchGeometryExtensiongetSketchGeometryExtensionPtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getId (PyObject *self, void *closure)
 getter callback for the Id attribute More...
 
static int staticCallback_setId (PyObject *self, PyObject *value, void *closure)
 setter callback for the Id attribute More...
 

Additional Inherited Members

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

Detailed Description

The python export class for SketchGeometryExtension.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~SketchGeometryExtensionPy()

SketchGeometryExtensionPy::~SketchGeometryExtensionPy ( )
protected

◆ SketchGeometryExtensionPy()

SketchGeometryExtensionPy::SketchGeometryExtensionPy ( SketchGeometryExtension pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getCustomAttributes()

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

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

◆ getId()

Py::Long SketchGeometryExtensionPy::getId ( void  ) const

getter for the Id attribute

References getSketchGeometryExtensionPtr().

Referenced by staticCallback_getId().

◆ getSketchGeometryExtensionPtr()

SketchGeometryExtension * SketchGeometryExtensionPy::getSketchGeometryExtensionPtr ( void  ) const

getter for the object handled by this class

Referenced by getId(), PyInit(), representation(), and setId().

◆ GetType()

virtual PyTypeObject* Sketcher::SketchGeometryExtensionPy::GetType ( void  )
virtual

Reimplemented from Part::GeometryExtensionPy.

◆ PyInit()

int SketchGeometryExtensionPy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Part::GeometryExtensionPy.

References getSketchGeometryExtensionPtr(), and Sketcher::SketchGeometryExtension::setId().

◆ PyMake()

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

◆ representation()

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setId()

void SketchGeometryExtensionPy::setId ( Py::Long  arg)

setter for the Id attribute

References getSketchGeometryExtensionPtr(), and Sketcher::SketchGeometryExtension::setId().

Referenced by staticCallback_setId().

◆ staticCallback_getId()

PyObject * SketchGeometryExtensionPy::staticCallback_getId ( PyObject self,
void *  closure 
)
static

◆ staticCallback_setId()

int SketchGeometryExtensionPy::staticCallback_setId ( PyObject self,
PyObject value,
void *  closure 
)
static

Member Data Documentation

◆ GetterSetter

PyGetSetDef SketchGeometryExtensionPy::GetterSetter
static
Initial value:
= {
{"Id",
"\n returns the Id of the SketchGeometryExtension.\n ",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of SketchGeometryExtensionPy.

◆ Methods

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

Methods structure of SketchGeometryExtensionPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Sketcher/App/SketchGeometryExtensionPy.h
  • src/Mod/Sketcher/App/SketchGeometryExtensionPyImp.cpp
  • build/webdoc/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
static int staticCallback_setId(PyObject *self, PyObject *value, void *closure)
setter callback for the Id attribute
Definition: SketchGeometryExtensionPy.cpp:117
static PyObject * staticCallback_getId(PyObject *self, void *closure)
getter callback for the Id attribute
Definition: SketchGeometryExtensionPy.cpp:99