HyperbolaPy.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_HYPERBOLAPY_H
00005 #define PART_HYPERBOLAPY_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 // HyperbolaPy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport HyperbolaPy : 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     HyperbolaPy(GeomHyperbola *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~HyperbolaPy();
00035 
00036     typedef GeomHyperbola* 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);
00061     // no setter method,  Focal is read only!
00063     static PyObject * staticCallback_getFocus1 (PyObject *self, void *closure);
00065     Py::Object getFocus1(void) const;
00067     static int staticCallback_setFocus1 (PyObject *self, PyObject *value, void *closure);
00068     // no setter method,  Focus1 is read only!
00070     static PyObject * staticCallback_getFocus2 (PyObject *self, void *closure);
00072     Py::Object getFocus2(void) const;
00074     static int staticCallback_setFocus2 (PyObject *self, PyObject *value, void *closure);
00075     // no setter method,  Focus2 is read only!
00077     static PyObject * staticCallback_getParameter (PyObject *self, void *closure);
00079     Py::Float getParameter(void) const;
00081     static int staticCallback_setParameter (PyObject *self, PyObject *value, void *closure);
00082     // no setter method,  Parameter is read only!
00084     static PyObject * staticCallback_getMajorRadius (PyObject *self, void *closure);
00086     Py::Float getMajorRadius(void) const;
00088     static int staticCallback_setMajorRadius (PyObject *self, PyObject *value, void *closure);
00090     void setMajorRadius(Py::Float arg);
00092     static PyObject * staticCallback_getMinorRadius (PyObject *self, void *closure);
00094     Py::Float getMinorRadius(void) const;
00096     static int staticCallback_setMinorRadius (PyObject *self, PyObject *value, void *closure);
00098     void setMinorRadius(Py::Float arg);
00100     static PyObject * staticCallback_getLocation (PyObject *self, void *closure);
00102     Py::Object getLocation(void) const;
00104     static int staticCallback_setLocation (PyObject *self, PyObject *value, void *closure);
00106     void setLocation(Py::Object arg);
00108     static PyObject * staticCallback_getAxis (PyObject *self, void *closure);
00110     Py::Object getAxis(void) const;
00112     static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure);
00114     void setAxis(Py::Object arg);
00116 
00118     PyObject *getCustomAttributes(const char* attr) const;
00120     int setCustomAttributes(const char* attr, PyObject *obj);
00121     PyObject *_getattr(char *attr);              // __getattr__ function
00122     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00123 
00125     GeomHyperbola *getGeomHyperbolaPtr(void) const;
00126 
00129 
00131 };
00132 
00133 #define PARENTSPartHyperbolaPy &HyperbolaPy::Type,PARENTSPartGeometryCurvePy
00134 
00135 }  //namespace Part
00136 
00137 #endif  // PART_HYPERBOLAPY_H
00138 
00139 

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