The python export class for ExternalGeometryFacade. More...

#include <ExternalGeometryFacadePy.h>

Public Types

typedef ExternalGeometryFacadePointerType
 
- Public Types inherited from Base::BaseClassPy
typedef BaseClassPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0 , Immutable = 1 , Notify = 2 , NoTrack = 3 }
 

Public Member Functions

 ExternalGeometryFacadePy (ExternalGeometryFacade *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 Base::BaseClassPy
 BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectisDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObjectgetAllDerivedFrom (PyObject *args)
 implementer for the getAllDerivedFrom() method More...
 
Py::String getTypeId (void) const
 getter for the TypeId attribute More...
 
Py::String getModule (void) const
 getter for the Module 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...
 
BaseClassgetBaseClassPtr (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 Base::BaseClassPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObjectstaticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObjectstaticCallback_getTypeId (PyObject *self, void *closure)
 getter callback for the TypeId attribute More...
 
static int staticCallback_setTypeId (PyObject *self, PyObject *value, void *closure)
 setter callback for the TypeId attribute More...
 
static PyObjectstaticCallback_getModule (PyObject *self, void *closure)
 getter callback for the Module attribute More...
 
static int staticCallback_setModule (PyObject *self, PyObject *value, void *closure)
 setter callback for the Module 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 ExternalGeometryFacadePy. More...
 
static PyMethodDef Methods []
 Methods structure of ExternalGeometryFacadePy. More...
 
static PyTypeObject Type
 Type structure of ExternalGeometryFacadePy. More...
 
- Static Public Attributes inherited from Base::BaseClassPy
static PyGetSetDef GetterSetter []
 Attribute structure of BaseClassPy. More...
 
static PyMethodDef Methods []
 Methods structure of BaseClassPy. More...
 
static PyTypeObject Type
 Type structure of BaseClassPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~ExternalGeometryFacadePy ()
 
- Protected Member Functions inherited from Base::BaseClassPy
 ~BaseClassPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
void setTwinPointer (void *ptr)
 Overrides the pointer to the twin object. More...
 
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...
 
PyObjectmirror (PyObject *args)
 implementer for the mirror() method More...
 
PyObjectrotate (PyObject *args)
 implementer for the rotate() method More...
 
PyObjectscale (PyObject *args)
 implementer for the scale() method More...
 
PyObjecttransform (PyObject *args)
 implementer for the transform() method More...
 
PyObjecttranslate (PyObject *args)
 implementer for the translate() method More...
 
PyObjecthasExtensionOfType (PyObject *args)
 implementer for the hasExtensionOfType() method More...
 
PyObjecthasExtensionOfName (PyObject *args)
 implementer for the hasExtensionOfName() method More...
 
PyObjectgetExtensionOfType (PyObject *args)
 implementer for the getExtensionOfType() method More...
 
PyObjectgetExtensionOfName (PyObject *args)
 implementer for the getExtensionOfName() method More...
 
PyObjectsetExtension (PyObject *args)
 implementer for the setExtension() method More...
 
PyObjectdeleteExtensionOfType (PyObject *args)
 implementer for the deleteExtensionOfType() method More...
 
PyObjectdeleteExtensionOfName (PyObject *args)
 implementer for the deleteExtensionOfName() method More...
 
PyObjectgetExtensions (PyObject *args)
 implementer for the getExtensions() 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...
 
static PyObjectstaticCallback_mirror (PyObject *self, PyObject *args)
 callback for the mirror() method More...
 
static PyObjectstaticCallback_rotate (PyObject *self, PyObject *args)
 callback for the rotate() method More...
 
static PyObjectstaticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObjectstaticCallback_transform (PyObject *self, PyObject *args)
 callback for the transform() method More...
 
static PyObjectstaticCallback_translate (PyObject *self, PyObject *args)
 callback for the translate() method More...
 
static PyObjectstaticCallback_hasExtensionOfType (PyObject *self, PyObject *args)
 callback for the hasExtensionOfType() method More...
 
static PyObjectstaticCallback_hasExtensionOfName (PyObject *self, PyObject *args)
 callback for the hasExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensionOfType (PyObject *self, PyObject *args)
 callback for the getExtensionOfType() method More...
 
static PyObjectstaticCallback_getExtensionOfName (PyObject *self, PyObject *args)
 callback for the getExtensionOfName() method More...
 
static PyObjectstaticCallback_setExtension (PyObject *self, PyObject *args)
 callback for the setExtension() method More...
 
static PyObjectstaticCallback_deleteExtensionOfType (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfType() method More...
 
static PyObjectstaticCallback_deleteExtensionOfName (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensions (PyObject *self, PyObject *args)
 callback for the getExtensions() 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...
 
Py::Long getId (void) const
 getter for the Id attribute More...
 
void setId (Py::Long arg)
 setter for the Id attribute More...
 
Py::Boolean getConstruction (void) const
 getter for the Construction attribute More...
 
void setConstruction (Py::Boolean arg)
 setter for the Construction attribute More...
 
Py::String getInternalType (void) const
 getter for the InternalType attribute More...
 
void setInternalType (Py::String arg)
 setter for the InternalType attribute More...
 
Py::Boolean getBlocked (void) const
 getter for the Blocked attribute More...
 
void setBlocked (Py::Boolean arg)
 setter for the Blocked attribute More...
 
Py::String getTag (void) const
 getter for the Tag attribute More...
 
Py::Object getGeometry (void) const
 getter for the Geometry attribute More...
 
void setGeometry (Py::Object arg)
 setter for the Geometry 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...
 
ExternalGeometryFacadegetExternalGeometryFacadePtr (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...
 
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...
 
static PyObjectstaticCallback_getConstruction (PyObject *self, void *closure)
 getter callback for the Construction attribute More...
 
static int staticCallback_setConstruction (PyObject *self, PyObject *value, void *closure)
 setter callback for the Construction attribute More...
 
static PyObjectstaticCallback_getInternalType (PyObject *self, void *closure)
 getter callback for the InternalType attribute More...
 
static int staticCallback_setInternalType (PyObject *self, PyObject *value, void *closure)
 setter callback for the InternalType attribute More...
 
static PyObjectstaticCallback_getBlocked (PyObject *self, void *closure)
 getter callback for the Blocked attribute More...
 
static int staticCallback_setBlocked (PyObject *self, PyObject *value, void *closure)
 setter callback for the Blocked attribute More...
 
static PyObjectstaticCallback_getTag (PyObject *self, void *closure)
 getter callback for the Tag attribute More...
 
static int staticCallback_setTag (PyObject *self, PyObject *value, void *closure)
 setter callback for the Tag attribute More...
 
static PyObjectstaticCallback_getGeometry (PyObject *self, void *closure)
 getter callback for the Geometry attribute More...
 
static int staticCallback_setGeometry (PyObject *self, PyObject *value, void *closure)
 setter callback for the Geometry attribute More...
 

Additional Inherited Members

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

Detailed Description

The python export class for ExternalGeometryFacade.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~ExternalGeometryFacadePy()

ExternalGeometryFacadePy::~ExternalGeometryFacadePy ( )
protected

◆ ExternalGeometryFacadePy()

ExternalGeometryFacadePy::ExternalGeometryFacadePy ( ExternalGeometryFacade pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ deleteExtensionOfName()

PyObject * ExternalGeometryFacadePy::deleteExtensionOfName ( PyObject args)

◆ deleteExtensionOfType()

◆ getBlocked()

Py::Boolean ExternalGeometryFacadePy::getBlocked ( void  ) const

getter for the Blocked attribute

References getExternalGeometryFacadePtr().

Referenced by staticCallback_getBlocked().

◆ getConstruction()

Py::Boolean ExternalGeometryFacadePy::getConstruction ( void  ) const

getter for the Construction attribute

References getExternalGeometryFacadePtr().

Referenced by staticCallback_getConstruction().

◆ getCustomAttributes()

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

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

◆ getExtensionOfName()

PyObject * ExternalGeometryFacadePy::getExtensionOfName ( PyObject args)

◆ getExtensionOfType()

PyObject * ExternalGeometryFacadePy::getExtensionOfType ( PyObject args)

◆ getExtensions()

PyObject * ExternalGeometryFacadePy::getExtensions ( PyObject args)

◆ getExternalGeometryFacadePtr()

◆ getGeometry()

Py::Object ExternalGeometryFacadePy::getGeometry ( void  ) const

getter for the Geometry attribute

References draftmake.make_clone::clone, and getExternalGeometryFacadePtr().

Referenced by staticCallback_getGeometry().

◆ getId()

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

getter for the Id attribute

References getExternalGeometryFacadePtr().

Referenced by staticCallback_getId().

◆ getInternalType()

◆ getRef()

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

getter for the Ref attribute

References getExternalGeometryFacadePtr().

Referenced by staticCallback_getRef().

◆ getTag()

Py::String ExternalGeometryFacadePy::getTag ( void  ) const

getter for the Tag attribute

References getExternalGeometryFacadePtr().

Referenced by staticCallback_getTag().

◆ GetType()

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

Reimplemented from Base::BaseClassPy.

◆ hasExtensionOfName()

PyObject * ExternalGeometryFacadePy::hasExtensionOfName ( PyObject args)

◆ hasExtensionOfType()

PyObject * ExternalGeometryFacadePy::hasExtensionOfType ( PyObject args)

◆ mirror()

◆ PyInit()

int ExternalGeometryFacadePy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Base::BaseClassPy.

References Part::Geometry::clone(), getExternalGeometryFacadePtr(), Sketcher::ExternalGeometryFacade::setGeometry(), and Part::GeometryPy::Type.

◆ PyMake()

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

◆ representation()

◆ rotate()

◆ scale()

◆ setBlocked()

void ExternalGeometryFacadePy::setBlocked ( Py::Boolean  arg)

setter for the Blocked attribute

References getExternalGeometryFacadePtr(), and Sketcher::ExternalGeometryFacade::setBlocked().

Referenced by staticCallback_setBlocked().

◆ setConstruction()

void ExternalGeometryFacadePy::setConstruction ( Py::Boolean  arg)

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setExtension()

◆ setFlag()

◆ setGeometry()

void ExternalGeometryFacadePy::setGeometry ( Py::Object  arg)

◆ setId()

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

setter for the Id attribute

References getExternalGeometryFacadePtr(), and Sketcher::ExternalGeometryFacade::setId().

Referenced by staticCallback_setId().

◆ setInternalType()

void ExternalGeometryFacadePy::setInternalType ( Py::String  arg)

◆ setRef()

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

setter for the Ref attribute

References getExternalGeometryFacadePtr(), and Sketcher::ExternalGeometryFacade::setRef().

Referenced by staticCallback_setRef().

◆ staticCallback_deleteExtensionOfName()

◆ staticCallback_deleteExtensionOfType()

◆ staticCallback_getBlocked()

PyObject * ExternalGeometryFacadePy::staticCallback_getBlocked ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getConstruction()

PyObject * ExternalGeometryFacadePy::staticCallback_getConstruction ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getExtensionOfName()

PyObject * ExternalGeometryFacadePy::staticCallback_getExtensionOfName ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getExtensionOfType()

PyObject * ExternalGeometryFacadePy::staticCallback_getExtensionOfType ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getExtensions()

PyObject * ExternalGeometryFacadePy::staticCallback_getExtensions ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getGeometry()

PyObject * ExternalGeometryFacadePy::staticCallback_getGeometry ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getId()

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

◆ staticCallback_getInternalType()

PyObject * ExternalGeometryFacadePy::staticCallback_getInternalType ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getRef()

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

◆ staticCallback_getTag()

PyObject * ExternalGeometryFacadePy::staticCallback_getTag ( PyObject self,
void *  closure 
)
static

◆ staticCallback_hasExtensionOfName()

PyObject * ExternalGeometryFacadePy::staticCallback_hasExtensionOfName ( PyObject self,
PyObject args 
)
static

◆ staticCallback_hasExtensionOfType()

PyObject * ExternalGeometryFacadePy::staticCallback_hasExtensionOfType ( PyObject self,
PyObject args 
)
static

◆ staticCallback_mirror()

◆ staticCallback_rotate()

◆ staticCallback_scale()

◆ staticCallback_setBlocked()

int ExternalGeometryFacadePy::staticCallback_setBlocked ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setConstruction()

int ExternalGeometryFacadePy::staticCallback_setConstruction ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setExtension()

◆ staticCallback_setFlag()

◆ staticCallback_setGeometry()

int ExternalGeometryFacadePy::staticCallback_setGeometry ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setId()

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

◆ staticCallback_setInternalType()

int ExternalGeometryFacadePy::staticCallback_setInternalType ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setRef()

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

◆ staticCallback_setTag()

int ExternalGeometryFacadePy::staticCallback_setTag ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the Tag attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_testFlag()

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

◆ staticCallback_transform()

◆ staticCallback_translate()

◆ testFlag()

PyObject * ExternalGeometryFacadePy::testFlag ( PyObject args)

◆ transform()

◆ translate()

Member Data Documentation

◆ GetterSetter

PyGetSetDef ExternalGeometryFacadePy::GetterSetter
static

Attribute structure of ExternalGeometryFacadePy.

◆ Methods

PyMethodDef ExternalGeometryFacadePy::Methods
static

Methods structure of ExternalGeometryFacadePy.

◆ Type


The documentation for this class was generated from the following files:
  • Sources/FreeCAD-SourceDocs/src/Mod/Sketcher/App/ExternalGeometryFacadePy.h
  • Sources/FreeCAD/src/Mod/Sketcher/App/ExternalGeometryFacadePyImp.cpp
  • Sources/FreeCAD-SourceDocs/src/Mod/Sketcher/App/ExternalGeometryFacadePy.cpp