LinePy.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_LINEPY_H
00005 #define PART_LINEPY_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 // LinePy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport LinePy : 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     LinePy(GeomLineSegment *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~LinePy();
00035 
00036     typedef GeomLineSegment* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_setParameterRange (PyObject *self, PyObject *args);
00046     PyObject*  setParameterRange(PyObject *args);
00048 
00049 
00052 
00053     static PyObject * staticCallback_getStartPoint (PyObject *self, void *closure);
00055     Py::Object getStartPoint(void) const;
00057     static int staticCallback_setStartPoint (PyObject *self, PyObject *value, void *closure);
00059     void setStartPoint(Py::Object arg);
00061     static PyObject * staticCallback_getEndPoint (PyObject *self, void *closure);
00063     Py::Object getEndPoint(void) const;
00065     static int staticCallback_setEndPoint (PyObject *self, PyObject *value, void *closure);
00067     void setEndPoint(Py::Object arg);
00069     static PyObject * staticCallback_getInfinite (PyObject *self, void *closure);
00071     Py::Boolean getInfinite(void) const;
00073     static int staticCallback_setInfinite (PyObject *self, PyObject *value, void *closure);
00075     void setInfinite(Py::Boolean arg);
00077 
00079     PyObject *getCustomAttributes(const char* attr) const;
00081     int setCustomAttributes(const char* attr, PyObject *obj);
00082     PyObject *_getattr(char *attr);              // __getattr__ function
00083     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00084 
00086     GeomLineSegment *getGeomLineSegmentPtr(void) const;
00087 
00090 
00091       public:
00092       bool Infinite;
00093     
00095 };
00096 
00097 #define PARENTSPartLinePy &LinePy::Type,PARENTSPartGeometryCurvePy
00098 
00099 }  //namespace Part
00100 
00101 #endif  // PART_LINEPY_H
00102 
00103 

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