The python export class for CosmeticEdge. More...
#include <CosmeticEdgePy.h>
Public Types | |
typedef CosmeticEdge * PointerType | |
![]() | |
typedef void * PointerType | |
enum Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } | |
Public Member Functions | |
CosmeticEdgePy (CosmeticEdge *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 | |
callbacks and implementers for the python object attributes | |
PyObject * getCustomAttributes (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... | |
CosmeticEdge * getCosmeticEdgePtr (void) const | |
getter for the object handled by this class More... | |
![]() | |
PyObjectBase * DecRef (void) | |
decref method wrapper (see python extending manual) More... | |
PyObjectBase * IncRef (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 PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *) | |
![]() | |
static void PyDestructor (PyObject *P) | |
Wrapper for the Python destructor. More... | |
Static Public Attributes | |
static PyGetSetDef GetterSetter [] | |
Attribute structure of CosmeticEdgePy. More... | |
static PyMethodDef Methods [] | |
Methods structure of CosmeticEdgePy. More... | |
static PyTypeObject Type | |
Type structure of CosmeticEdgePy. More... | |
![]() | |
static PyMethodDef Methods [] | |
static PyTypeObject Type | |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~CosmeticEdgePy () | |
![]() | |
virtual ~PyObjectBase () | |
destructor More... | |
callbacks and implementers for the python object methods | |
PyObject * clone (PyObject *args) | |
implementer for the clone() method More... | |
PyObject * copy (PyObject *args) | |
implementer for the copy() method More... | |
static PyObject * staticCallback_clone (PyObject *self, PyObject *args) | |
callback for the clone() method More... | |
static PyObject * staticCallback_copy (PyObject *self, PyObject *args) | |
callback for the copy() method More... | |
Additional Inherited Members | |
![]() | |
std::bitset< 32 > StatusBits | |
Detailed Description
The python export class for CosmeticEdge.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~CosmeticEdgePy()
|
protected |
◆ CosmeticEdgePy()
CosmeticEdgePy::CosmeticEdgePy | ( | CosmeticEdge * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Member Function Documentation
◆ clone()
implementer for the clone() method
References TechDraw::CosmeticEdge::clone(), getCosmeticEdgePtr(), and GetType().
Referenced by ArchPanel.CommandPanelSheet::Activated(), and staticCallback_clone().
◆ copy()
implementer for the copy() method
References TechDraw::CosmeticEdge::copy(), getCosmeticEdgePtr(), and GetType().
Referenced by staticCallback_copy().
◆ getCosmeticEdgePtr()
CosmeticEdge * CosmeticEdgePy::getCosmeticEdgePtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by clone(), copy(), and TechDraw::PropertyCosmeticEdgeList::setPyObject().
◆ getCustomAttributes()
PyObject * CosmeticEdgePy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ GetType()
|
virtual |
Reimplemented from Base::PyObjectBase.
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Base::PyObjectBase.
◆ PyMake()
◆ representation()
std::string CosmeticEdgePy::representation | ( | void | ) | const |
Referenced by config_control_design.pcurve::wr1(), config_control_design.degenerate_pcurve::wr1(), automotive_design.motion_link_relationship::wr1(), automotive_design.pcurve::wr1(), automotive_design.degenerate_pcurve::wr1(), config_control_design.pcurve::wr2(), config_control_design.degenerate_pcurve::wr2(), automotive_design.pcurve::wr2(), and automotive_design.degenerate_pcurve::wr2().
◆ setCustomAttributes()
int CosmeticEdgePy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ staticCallback_clone()
callback for the clone() method
References Base::BaseExceptionFreeCADError, clone(), Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_copy()
callback for the copy() method
References Base::BaseExceptionFreeCADError, Base::Console(), copy(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of CosmeticEdgePy.
◆ Methods
|
static |
Methods structure of CosmeticEdgePy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/TechDraw/App/CosmeticEdgePy.h
- src/Mod/TechDraw/App/CosmeticEdgePyImp.cpp
- build/webdoc/src/Mod/TechDraw/App/CosmeticEdgePy.cpp