The python export class for ExternalGeometryExtension. More...

#include <ExternalGeometryExtensionPy.h>

Public Types

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

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

 ~ExternalGeometryExtensionPy ()
 
- 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 methods

PyObjecttestFlag (PyObject *args)
 implementer for the testFlag() method More...
 
PyObjectsetFlag (PyObject *args)
 implementer for the setFlag() method More...
 
static PyObjectstaticCallback_testFlag (PyObject *self, PyObject *args)
 callback for the testFlag() method More...
 
static PyObjectstaticCallback_setFlag (PyObject *self, PyObject *args)
 callback for the setFlag() method More...
 

callbacks and implementers for the python object attributes

Py::String getRef (void) const
 getter for the Ref attribute More...
 
void setRef (Py::String arg)
 setter for the Ref 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...
 
ExternalGeometryExtensiongetExternalGeometryExtensionPtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getRef (PyObject *self, void *closure)
 getter callback for the Ref attribute More...
 
static int staticCallback_setRef (PyObject *self, PyObject *value, void *closure)
 setter callback for the Ref attribute More...
 

Additional Inherited Members

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

Detailed Description

The python export class for ExternalGeometryExtension.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~ExternalGeometryExtensionPy()

ExternalGeometryExtensionPy::~ExternalGeometryExtensionPy ( )
protected

◆ ExternalGeometryExtensionPy()

ExternalGeometryExtensionPy::ExternalGeometryExtensionPy ( ExternalGeometryExtension pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getCustomAttributes()

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

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

◆ getExternalGeometryExtensionPtr()

ExternalGeometryExtension * ExternalGeometryExtensionPy::getExternalGeometryExtensionPtr ( void  ) const

getter for the object handled by this class

Referenced by getRef(), representation(), setFlag(), setRef(), and testFlag().

◆ getRef()

Py::String ExternalGeometryExtensionPy::getRef ( void  ) const

getter for the Ref attribute

References getExternalGeometryExtensionPtr().

Referenced by staticCallback_getRef().

◆ GetType()

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

Reimplemented from Part::GeometryExtensionPy.

◆ PyInit()

int ExternalGeometryExtensionPy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Part::GeometryExtensionPy.

◆ PyMake()

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

◆ representation()

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setFlag()

PyObject * ExternalGeometryExtensionPy::setFlag ( PyObject args)

◆ setRef()

void ExternalGeometryExtensionPy::setRef ( Py::String  arg)

◆ staticCallback_getRef()

PyObject * ExternalGeometryExtensionPy::staticCallback_getRef ( PyObject self,
void *  closure 
)
static

◆ staticCallback_setFlag()

◆ staticCallback_setRef()

int ExternalGeometryExtensionPy::staticCallback_setRef ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_testFlag()

PyObject * ExternalGeometryExtensionPy::staticCallback_testFlag ( PyObject self,
PyObject args 
)
static

◆ testFlag()

PyObject * ExternalGeometryExtensionPy::testFlag ( PyObject args)

implementer for the testFlag() method

References getExternalGeometryExtensionPtr().

Referenced by representation(), and staticCallback_testFlag().

Member Data Documentation

◆ GetterSetter

PyGetSetDef ExternalGeometryExtensionPy::GetterSetter
static
Initial value:
= {
{"Ref",
"\n returns the reference string of this external geometry.\n ",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of ExternalGeometryExtensionPy.

◆ Methods

PyMethodDef ExternalGeometryExtensionPy::Methods
static
Initial value:
= {
{"testFlag",
reinterpret_cast<PyCFunction>( staticCallback_testFlag ),
METH_VARARGS,
"returns a boolean indicating whether the given bit is set."
},
{"setFlag",
reinterpret_cast<PyCFunction>( staticCallback_setFlag ),
METH_VARARGS,
"sets the given bit to true/false."
},
{NULL, NULL, 0, NULL}
}

Methods structure of ExternalGeometryExtensionPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.h
  • src/Mod/Sketcher/App/ExternalGeometryExtensionPyImp.cpp
  • build/webdoc/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
static PyObject * staticCallback_setFlag(PyObject *self, PyObject *args)
callback for the setFlag() method
Definition: ExternalGeometryExtensionPy.cpp:185
static PyObject * staticCallback_getRef(PyObject *self, void *closure)
getter callback for the Ref attribute
Definition: ExternalGeometryExtensionPy.cpp:268
static int staticCallback_setRef(PyObject *self, PyObject *value, void *closure)
setter callback for the Ref attribute
Definition: ExternalGeometryExtensionPy.cpp:286
static PyObject * staticCallback_testFlag(PyObject *self, PyObject *args)
callback for the testFlag() method
Definition: ExternalGeometryExtensionPy.cpp:109