The python export class for GeomTrimmedCurve. More...
#include <ArcPy.h>
Public Types | |
typedef GeomTrimmedCurve * | PointerType |
Public Member Functions | |
PyObject * | _getattr (char *attr) |
GetAttribute implementation This method implements the retriavel of object attributes. | |
virtual PyObject * | _repr (void) |
_repr method Overide this method to return a string object with some invormation about the object. | |
int | _setattr (char *attr, PyObject *value) |
SetAttribute implementation This method implements the seting of object attributes. | |
ArcPy (GeomTrimmedCurve *pcObject, PyTypeObject *T=&Type) | |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) | |
GeomTrimmedCurve * | getGeomTrimmedCurvePtr (void) const |
getter for the object handled by this class | |
virtual PyParentObject * | GetParents (void) |
virtual PyTypeObject * | GetType (void) |
virtual int | PyInit (PyObject *args, PyObject *k) |
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor). | |
std::string | representation (void) const |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. dynamic ones) | |
~ArcPy () | |
Static Public Member Functions | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Attributes | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of ArcPy. | |
static PyMethodDef | Methods [] |
Methods structure of ArcPy. | |
static PyParentObject | Parents [] = { PARENTSPartArcPy } |
static PyTypeObject | Type |
Type structure of ArcPy. |
The python export class for GeomTrimmedCurve.
Definition at line 20 of file ArcPy.h.
typedef GeomTrimmedCurve* Part::ArcPy::PointerType |
Reimplemented from Part::GeometryCurvePy.
ArcPy::ArcPy | ( | GeomTrimmedCurve * | pcObject, | |
PyTypeObject * | T = &Type | |||
) |
PyObject * ArcPy::_getattr | ( | char * | attr | ) | [virtual] |
GetAttribute implementation This method implements the retriavel of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class. Note: if you reimplement _gettattr() in a inheriting class you need to call the method of the base class! Otherwise even the methods of the object will disapiear!
Reimplemented from Part::GeometryCurvePy.
Definition at line 119 of file ArcPy.cpp.
References Base::Console(), getCustomAttributes(), Methods, Base::Exception::ReportException(), and Base::Exception::what().
PyObject * ArcPy::_repr | ( | void | ) | [virtual] |
_repr method Overide this method to return a string object with some invormation about the object.
PyObject *MeshFeaturePy::_repr(void) { std::stringstream a; a << "MeshFeature: [ "; a << "some realy important info about the object!"; a << "]" << std::endl; return Py_BuildValue("s", a.str().c_str()); }
Reimplemented from Part::GeometryCurvePy.
Definition at line 111 of file ArcPy.cpp.
References representation().
int ArcPy::_setattr | ( | char * | attr, | |
PyObject * | value | |||
) | [virtual] |
SetAttribute implementation This method implements the seting of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class.
Reimplemented from Part::GeometryCurvePy.
Definition at line 187 of file ArcPy.cpp.
References Base::Console(), Base::Exception::ReportException(), setCustomAttributes(), and Base::Exception::what().
PyObject * ArcPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
Reimplemented from Part::GeometryCurvePy.
Definition at line 140 of file ArcPyImp.cpp.
Referenced by _getattr().
GeomTrimmedCurve * ArcPy::getGeomTrimmedCurvePtr | ( | void | ) | const |
getter for the object handled by this class
Definition at line 246 of file ArcPy.cpp.
References Base::PyObjectBase::_pcTwinPointer.
Referenced by PyInit().
virtual PyParentObject* Part::ArcPy::GetParents | ( | void | ) | [inline, virtual] |
Reimplemented from Part::GeometryCurvePy.
virtual PyTypeObject* Part::ArcPy::GetType | ( | void | ) | [inline, virtual] |
Reimplemented from Part::GeometryCurvePy.
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor).
Reimplemented from Part::GeometryCurvePy.
Definition at line 60 of file ArcPyImp.cpp.
References gce_ErrorStatusText(), getGeomTrimmedCurvePtr(), StartPage::StartPage::handle(), Part::GeomTrimmedCurve::setHandle(), Part::EllipsePy::Type, Base::VectorPy::Type, Part::CirclePy::Type, draftlibs::fcgeo::v1(), Part::GeometryCurvePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Reimplemented from Part::GeometryCurvePy.
Definition at line 53 of file ArcPyImp.cpp.
References ArcPy().
std::string ArcPy::representation | ( | void | ) | const |
Reimplemented from Part::GeometryCurvePy.
Definition at line 48 of file ArcPyImp.cpp.
Referenced by _repr().
int ArcPy::setCustomAttributes | ( | const char * | attr, | |
PyObject * | obj | |||
) |
setter for special attributes (e.g. dynamic ones)
Reimplemented from Part::GeometryCurvePy.
Definition at line 145 of file ArcPyImp.cpp.
Referenced by _setattr().
PyGetSetDef ArcPy::GetterSetter [static] |
{ {NULL, NULL, NULL, NULL, NULL} }
Attribute structure of ArcPy.
Reimplemented from Part::GeometryCurvePy.
PyMethodDef ArcPy::Methods [static] |
{ {NULL, NULL, 0, NULL} }
Methods structure of ArcPy.
Reimplemented from Part::GeometryCurvePy.
Definition at line 24 of file ArcPy.h.
Referenced by _getattr().
PyParentObject ArcPy::Parents = { PARENTSPartArcPy } [static] |
Reimplemented from Part::GeometryCurvePy.
PyTypeObject ArcPy::Type [static] |
Type structure of ArcPy.
Reimplemented from Part::GeometryCurvePy.
Definition at line 23 of file ArcPy.h.
Referenced by initPart().