MeshPointPy.h

Go to the documentation of this file.
00001 
00002 // This file is generated by src/Tools/generateTemaplates/templateClassPyExport.py out of the XML file
00003 // Every change you make here get lost at the next full rebuild!
00004 #ifndef MESH_MESHPOINTPY_H
00005 #define MESH_MESHPOINTPY_H
00006 
00007 #include <Base/PyObjectBase.h>
00008 #include <Mod/Mesh/App/MeshPoint.h>
00009 #include <string>
00010 
00011 namespace Mesh
00012 {
00013 
00014 //===========================================================================
00015 // MeshPointPy - Python wrapper
00016 //===========================================================================
00017 
00020 class MeshExport MeshPointPy : public Base::PyObjectBase
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     MeshPointPy(MeshPoint *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~MeshPointPy();
00035 
00036     typedef MeshPoint* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_unbound (PyObject *self, PyObject *args);
00046     PyObject*  unbound(PyObject *args);
00048     static PyObject * staticCallback_move (PyObject *self, PyObject *args);
00050     PyObject*  move(PyObject *args);
00052 
00053 
00056 
00057     static PyObject * staticCallback_getIndex (PyObject *self, void *closure);
00059     Py::Int getIndex(void) const;
00061     static int staticCallback_setIndex (PyObject *self, PyObject *value, void *closure);
00062     // no setter method,  Index is read only!
00064     static PyObject * staticCallback_getBound (PyObject *self, void *closure);
00066     Py::Boolean getBound(void) const;
00068     static int staticCallback_setBound (PyObject *self, PyObject *value, void *closure);
00069     // no setter method,  Bound is read only!
00071     static PyObject * staticCallback_getNormal (PyObject *self, void *closure);
00073     Py::Object getNormal(void) const;
00075     static int staticCallback_setNormal (PyObject *self, PyObject *value, void *closure);
00076     // no setter method,  Normal is read only!
00078     static PyObject * staticCallback_getVector (PyObject *self, void *closure);
00080     Py::Object getVector(void) const;
00082     static int staticCallback_setVector (PyObject *self, PyObject *value, void *closure);
00083     // no setter method,  Vector is read only!
00085     static PyObject * staticCallback_getx (PyObject *self, void *closure);
00087     Py::Float getx(void) const;
00089     static int staticCallback_setx (PyObject *self, PyObject *value, void *closure);
00091     void setx(Py::Float arg);
00093     static PyObject * staticCallback_gety (PyObject *self, void *closure);
00095     Py::Float gety(void) const;
00097     static int staticCallback_sety (PyObject *self, PyObject *value, void *closure);
00099     void sety(Py::Float arg);
00101     static PyObject * staticCallback_getz (PyObject *self, void *closure);
00103     Py::Float getz(void) const;
00105     static int staticCallback_setz (PyObject *self, PyObject *value, void *closure);
00107     void setz(Py::Float arg);
00109 
00111     PyObject *getCustomAttributes(const char* attr) const;
00113     int setCustomAttributes(const char* attr, PyObject *obj);
00114     PyObject *_getattr(char *attr);              // __getattr__ function
00115     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00116 
00118     MeshPoint *getMeshPointPtr(void) const;
00119 
00122 
00124 };
00125 
00126 #define PARENTSMeshMeshPointPy &MeshPointPy::Type,PARENTSBasePyObjectBase
00127 
00128 }  //namespace Mesh
00129 
00130 #endif  // MESH_MESHPOINTPY_H
00131 
00132 

Generated on Wed Nov 23 19:00:23 2011 for FreeCAD by  doxygen 1.6.1