SketchObjectPy.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 SKETCHER_SKETCHOBJECTPY_H
00005 #define SKETCHER_SKETCHOBJECTPY_H
00006 
00007 #include <Mod/Part/App/Part2DObjectPy.h>
00008 #include <Mod/Sketcher/App/SketchObject.h>
00009 #include <string>
00010 
00011 namespace Sketcher
00012 {
00013 
00014 //===========================================================================
00015 // SketchObjectPy - Python wrapper
00016 //===========================================================================
00017 
00020 class SketcherExport SketchObjectPy : public Part::Part2DObjectPy
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     SketchObjectPy(SketchObject *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~SketchObjectPy();
00035 
00036     typedef SketchObject* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_solve (PyObject *self, PyObject *args);
00046     PyObject*  solve(PyObject *args);
00048     static PyObject * staticCallback_addGeometry (PyObject *self, PyObject *args);
00050     PyObject*  addGeometry(PyObject *args);
00052     static PyObject * staticCallback_delGeometry (PyObject *self, PyObject *args);
00054     PyObject*  delGeometry(PyObject *args);
00056     static PyObject * staticCallback_toggleConstruction (PyObject *self, PyObject *args);
00058     PyObject*  toggleConstruction(PyObject *args);
00060     static PyObject * staticCallback_addConstraint (PyObject *self, PyObject *args);
00062     PyObject*  addConstraint(PyObject *args);
00064     static PyObject * staticCallback_delConstraint (PyObject *self, PyObject *args);
00066     PyObject*  delConstraint(PyObject *args);
00068     static PyObject * staticCallback_addExternal (PyObject *self, PyObject *args);
00070     PyObject*  addExternal(PyObject *args);
00072     static PyObject * staticCallback_delExternal (PyObject *self, PyObject *args);
00074     PyObject*  delExternal(PyObject *args);
00076     static PyObject * staticCallback_delConstraintOnPoint (PyObject *self, PyObject *args);
00078     PyObject*  delConstraintOnPoint(PyObject *args);
00080     static PyObject * staticCallback_setDatum (PyObject *self, PyObject *args);
00082     PyObject*  setDatum(PyObject *args);
00084     static PyObject * staticCallback_movePoint (PyObject *self, PyObject *args);
00086     PyObject*  movePoint(PyObject *args);
00088     static PyObject * staticCallback_fillet (PyObject *self, PyObject *args);
00090     PyObject*  fillet(PyObject *args);
00092     static PyObject * staticCallback_trim (PyObject *self, PyObject *args);
00094     PyObject*  trim(PyObject *args);
00096 
00097 
00100 
00101     static PyObject * staticCallback_getConstraintCount (PyObject *self, void *closure);
00103     Py::Int getConstraintCount(void) const;
00105     static int staticCallback_setConstraintCount (PyObject *self, PyObject *value, void *closure);
00106     // no setter method,  ConstraintCount is read only!
00108     static PyObject * staticCallback_getGeometryCount (PyObject *self, void *closure);
00110     Py::Int getGeometryCount(void) const;
00112     static int staticCallback_setGeometryCount (PyObject *self, PyObject *value, void *closure);
00113     // no setter method,  GeometryCount is read only!
00115 
00117     PyObject *getCustomAttributes(const char* attr) const;
00119     int setCustomAttributes(const char* attr, PyObject *obj);
00120     PyObject *_getattr(char *attr);              // __getattr__ function
00121     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00122 
00124     SketchObject *getSketchObjectPtr(void) const;
00125 
00128 
00130 };
00131 
00132 #define PARENTSSketcherSketchObjectPy &SketchObjectPy::Type,PARENTSPartPart2DObjectPy
00133 
00134 }  //namespace Sketcher
00135 
00136 #endif  // SKETCHER_SKETCHOBJECTPY_H
00137 
00138 

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