Gui/DocumentPy.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_DOCUMENTPY_H
00005 #define GUI_DOCUMENTPY_H
00006 
00007 #include <Base/PersistencePy.h>
00008 #include <Gui/Document.h>
00009 #include <string>
00010 
00011 namespace Gui
00012 {
00013 
00014 //===========================================================================
00015 // DocumentPy - Python wrapper
00016 //===========================================================================
00017 
00020 class GuiExport DocumentPy : public Base::PersistencePy
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     DocumentPy(Document *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~DocumentPy();
00035 
00036     typedef Document* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_show (PyObject *self, PyObject *args);
00046     PyObject*  show(PyObject *args);
00048     static PyObject * staticCallback_hide (PyObject *self, PyObject *args);
00050     PyObject*  hide(PyObject *args);
00052     static PyObject * staticCallback_setPos (PyObject *self, PyObject *args);
00054     PyObject*  setPos(PyObject *args);
00056     static PyObject * staticCallback_setEdit (PyObject *self, PyObject *args);
00058     PyObject*  setEdit(PyObject *args);
00060     static PyObject * staticCallback_resetEdit (PyObject *self, PyObject *args);
00062     PyObject*  resetEdit(PyObject *args);
00064     static PyObject * staticCallback_addAnnotation (PyObject *self, PyObject *args);
00066     PyObject*  addAnnotation(PyObject *args);
00068     static PyObject * staticCallback_update (PyObject *self, PyObject *args);
00070     PyObject*  update(PyObject *args);
00072     static PyObject * staticCallback_getObject (PyObject *self, PyObject *args);
00074     PyObject*  getObject(PyObject *args);
00076     static PyObject * staticCallback_activeObject (PyObject *self, PyObject *args);
00078     PyObject*  activeObject(PyObject *args);
00080     static PyObject * staticCallback_activeView (PyObject *self, PyObject *args);
00082     PyObject*  activeView(PyObject *args);
00084 
00085 
00088 
00089     static PyObject * staticCallback_getActiveObject (PyObject *self, void *closure);
00091     Py::Object getActiveObject(void) const;
00093     static int staticCallback_setActiveObject (PyObject *self, PyObject *value, void *closure);
00095     void setActiveObject(Py::Object arg);
00097     static PyObject * staticCallback_getActiveView (PyObject *self, void *closure);
00099     Py::Object getActiveView(void) const;
00101     static int staticCallback_setActiveView (PyObject *self, PyObject *value, void *closure);
00103     void setActiveView(Py::Object arg);
00105     static PyObject * staticCallback_getDocument (PyObject *self, void *closure);
00107     Py::Object getDocument(void) const;
00109     static int staticCallback_setDocument (PyObject *self, PyObject *value, void *closure);
00110     // no setter method,  Document is read only!
00112 
00114     PyObject *getCustomAttributes(const char* attr) const;
00116     int setCustomAttributes(const char* attr, PyObject *obj);
00117     PyObject *_getattr(char *attr);              // __getattr__ function
00118     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00119 
00121     Document *getDocumentPtr(void) const;
00122 
00125 
00127 };
00128 
00129 #define PARENTSGuiDocumentPy &DocumentPy::Type,PARENTSBasePersistencePy
00130 
00131 }  //namespace Gui
00132 
00133 #endif  // GUI_DOCUMENTPY_H
00134 
00135 

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