ParabolaPy.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 PART_PARABOLAPY_H
00005 #define PART_PARABOLAPY_H
00006 
00007 #include <Mod/Part/App/GeometryCurvePy.h>
00008 #include <Mod/Part/App/Geometry.h>
00009 #include <string>
00010 
00011 namespace Part
00012 {
00013 
00014 //===========================================================================
00015 // ParabolaPy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport ParabolaPy : public Part::GeometryCurvePy
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     ParabolaPy(GeomParabola *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~ParabolaPy();
00035 
00036     typedef GeomParabola* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044 
00045 
00048 
00049     static PyObject * staticCallback_getEccentricity (PyObject *self, void *closure);
00051     Py::Float getEccentricity(void) const;
00053     static int staticCallback_setEccentricity (PyObject *self, PyObject *value, void *closure);
00054     // no setter method,  Eccentricity is read only!
00056     static PyObject * staticCallback_getFocal (PyObject *self, void *closure);
00058     Py::Float getFocal(void) const;
00060     static int staticCallback_setFocal (PyObject *self, PyObject *value, void *closure);
00062     void setFocal(Py::Float arg);
00064     static PyObject * staticCallback_getFocus (PyObject *self, void *closure);
00066     Py::Object getFocus(void) const;
00068     static int staticCallback_setFocus (PyObject *self, PyObject *value, void *closure);
00069     // no setter method,  Focus is read only!
00071     static PyObject * staticCallback_getParameter (PyObject *self, void *closure);
00073     Py::Float getParameter(void) const;
00075     static int staticCallback_setParameter (PyObject *self, PyObject *value, void *closure);
00076     // no setter method,  Parameter is read only!
00078     static PyObject * staticCallback_getLocation (PyObject *self, void *closure);
00080     Py::Object getLocation(void) const;
00082     static int staticCallback_setLocation (PyObject *self, PyObject *value, void *closure);
00084     void setLocation(Py::Object arg);
00086     static PyObject * staticCallback_getAxis (PyObject *self, void *closure);
00088     Py::Object getAxis(void) const;
00090     static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure);
00092     void setAxis(Py::Object arg);
00094 
00096     PyObject *getCustomAttributes(const char* attr) const;
00098     int setCustomAttributes(const char* attr, PyObject *obj);
00099     PyObject *_getattr(char *attr);              // __getattr__ function
00100     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00101 
00103     GeomParabola *getGeomParabolaPtr(void) const;
00104 
00107 
00109 };
00110 
00111 #define PARENTSPartParabolaPy &ParabolaPy::Type,PARENTSPartGeometryCurvePy
00112 
00113 }  //namespace Part
00114 
00115 #endif  // PART_PARABOLAPY_H
00116 
00117 

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