TopoShapeVertexPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef PART_TOPOSHAPEVERTEXPY_H
00005 #define PART_TOPOSHAPEVERTEXPY_H
00006
00007 #include <Mod/Part/App/TopoShapePy.h>
00008 #include <Mod/Part/App/TopoShape.h>
00009 #include <string>
00010
00011 namespace Part
00012 {
00013
00014
00015
00016
00017
00020 class PartExport TopoShapeVertexPy : public Part::TopoShapePy
00021 {
00022 public:
00023 static PyTypeObject Type;
00024 static PyMethodDef Methods[];
00025 static PyGetSetDef GetterSetter[];
00026 static PyParentObject Parents[];
00027 virtual PyTypeObject *GetType(void) {return &Type;};
00028 virtual PyParentObject *GetParents(void) {return Parents;}
00029
00030 public:
00031 TopoShapeVertexPy(TopoShape *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~TopoShapeVertexPy();
00035
00036 typedef TopoShape* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_setTolerance (PyObject *self, PyObject *args);
00046 PyObject* setTolerance(PyObject *args);
00048
00049
00052
00053 static PyObject * staticCallback_getX (PyObject *self, void *closure);
00055 Py::Float getX(void) const;
00057 static int staticCallback_setX (PyObject *self, PyObject *value, void *closure);
00058
00060 static PyObject * staticCallback_getY (PyObject *self, void *closure);
00062 Py::Float getY(void) const;
00064 static int staticCallback_setY (PyObject *self, PyObject *value, void *closure);
00065
00067 static PyObject * staticCallback_getZ (PyObject *self, void *closure);
00069 Py::Float getZ(void) const;
00071 static int staticCallback_setZ (PyObject *self, PyObject *value, void *closure);
00072
00074 static PyObject * staticCallback_getPoint (PyObject *self, void *closure);
00076 Py::Object getPoint(void) const;
00078 static int staticCallback_setPoint (PyObject *self, PyObject *value, void *closure);
00079
00081
00083 PyObject *getCustomAttributes(const char* attr) const;
00085 int setCustomAttributes(const char* attr, PyObject *obj);
00086 PyObject *_getattr(char *attr);
00087 int _setattr(char *attr, PyObject *value);
00088
00090 TopoShape *getTopoShapePtr(void) const;
00091
00094
00096 };
00097
00098 #define PARENTSPartTopoShapeVertexPy &TopoShapeVertexPy::Type,PARENTSPartTopoShapePy
00099
00100 }
00101
00102 #endif // PART_TOPOSHAPEVERTEXPY_H
00103
00104