PointsPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef POINTS_POINTSPY_H
00005 #define POINTS_POINTSPY_H
00006
00007 #include <App/ComplexGeoDataPy.h>
00008 #include <Mod/Points/App/Points.h>
00009 #include <string>
00010
00011 namespace Points
00012 {
00013
00014
00015
00016
00017
00020 class PointsExport PointsPy : public Data::ComplexGeoDataPy
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 PointsPy(PointKernel *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~PointsPy();
00035
00036 typedef PointKernel* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_copy (PyObject *self, PyObject *args);
00046 PyObject* copy(PyObject *args);
00048 static PyObject * staticCallback_read (PyObject *self, PyObject *args);
00050 PyObject* read(PyObject *args);
00052 static PyObject * staticCallback_write (PyObject *self, PyObject *args);
00054 PyObject* write(PyObject *args);
00056 static PyObject * staticCallback_writeInventor (PyObject *self, PyObject *args);
00058 PyObject* writeInventor(PyObject *args);
00060 static PyObject * staticCallback_addPoints (PyObject *self, PyObject *args);
00062 PyObject* addPoints(PyObject *args);
00064
00065
00068
00069 static PyObject * staticCallback_getCountPoints (PyObject *self, void *closure);
00071 Py::Int getCountPoints(void) const;
00073 static int staticCallback_setCountPoints (PyObject *self, PyObject *value, void *closure);
00074
00076 static PyObject * staticCallback_getPoints (PyObject *self, void *closure);
00078 Py::List getPoints(void) const;
00080 static int staticCallback_setPoints (PyObject *self, PyObject *value, void *closure);
00081
00083
00085 PyObject *getCustomAttributes(const char* attr) const;
00087 int setCustomAttributes(const char* attr, PyObject *obj);
00088 PyObject *_getattr(char *attr);
00089 int _setattr(char *attr, PyObject *value);
00090
00092 PointKernel *getPointKernelPtr(void) const;
00093
00096
00097
00099 };
00100
00101 #define PARENTSPointsPointsPy &PointsPy::Type,PARENTSDataComplexGeoDataPy
00102
00103 }
00104
00105 #endif // POINTS_POINTSPY_H
00106
00107