ViewProviderDocumentObjectPy.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 GUI_VIEWPROVIDERDOCUMENTOBJECTPY_H
00005 #define GUI_VIEWPROVIDERDOCUMENTOBJECTPY_H
00006 
00007 #include <Gui/ViewProviderPy.h>
00008 #include <Gui/ViewProviderDocumentObject.h>
00009 #include <string>
00010 
00011 namespace Gui
00012 {
00013 
00014 //===========================================================================
00015 // ViewProviderDocumentObjectPy - Python wrapper
00016 //===========================================================================
00017 
00020 class GuiExport ViewProviderDocumentObjectPy : public Gui::ViewProviderPy
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     ViewProviderDocumentObjectPy(ViewProviderDocumentObject *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~ViewProviderDocumentObjectPy();
00035 
00036     typedef ViewProviderDocumentObject* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_update (PyObject *self, PyObject *args);
00046     PyObject*  update(PyObject *args);
00048 
00049 
00052 
00053     static PyObject * staticCallback_getObject (PyObject *self, void *closure);
00055     Py::Object getObject(void) const;
00057     static int staticCallback_setObject (PyObject *self, PyObject *value, void *closure);
00058     // no setter method,  Object is read only!
00060 
00062     PyObject *getCustomAttributes(const char* attr) const;
00064     int setCustomAttributes(const char* attr, PyObject *obj);
00065     PyObject *_getattr(char *attr);              // __getattr__ function
00066     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00067 
00069     ViewProviderDocumentObject *getViewProviderDocumentObjectPtr(void) const;
00070 
00073 
00075 };
00076 
00077 #define PARENTSGuiViewProviderDocumentObjectPy &ViewProviderDocumentObjectPy::Type,PARENTSGuiViewProviderPy
00078 
00079 }  //namespace Gui
00080 
00081 #endif  // GUI_VIEWPROVIDERDOCUMENTOBJECTPY_H
00082 
00083 

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