ViewProviderPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef GUI_VIEWPROVIDERPY_H
00005 #define GUI_VIEWPROVIDERPY_H
00006
00007 #include <App/PropertyContainerPy.h>
00008 #include <Gui/ViewProvider.h>
00009 #include <string>
00010
00011 namespace Gui
00012 {
00013
00014
00015
00016
00017
00020 class GuiExport ViewProviderPy : public App::PropertyContainerPy
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 ViewProviderPy(ViewProvider *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~ViewProviderPy();
00035
00036 typedef ViewProvider* PointerType ;
00037
00038 virtual PyObject *_repr(void);
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_isVisible (PyObject *self, PyObject *args);
00054 PyObject* isVisible(PyObject *args);
00056 static PyObject * staticCallback_listDisplayModes (PyObject *self, PyObject *args);
00058 PyObject* listDisplayModes(PyObject *args);
00060 static PyObject * staticCallback_toString (PyObject *self, PyObject *args);
00062 PyObject* toString(PyObject *args);
00064 static PyObject * staticCallback_startEditing (PyObject *self, PyObject *args);
00066 PyObject* startEditing(PyObject *args);
00068 static PyObject * staticCallback_finishEditing (PyObject *self, PyObject *args);
00070 PyObject* finishEditing(PyObject *args);
00072 static PyObject * staticCallback_isEditing (PyObject *self, PyObject *args);
00074 PyObject* isEditing(PyObject *args);
00076 static PyObject * staticCallback_setTransformation (PyObject *self, PyObject *args);
00078 PyObject* setTransformation(PyObject *args);
00080
00081
00084
00085 static PyObject * staticCallback_getAnnotation (PyObject *self, void *closure);
00087 Py::Object getAnnotation(void) const;
00089 static int staticCallback_setAnnotation (PyObject *self, PyObject *value, void *closure);
00091 void setAnnotation(Py::Object arg);
00093 static PyObject * staticCallback_getRootNode (PyObject *self, void *closure);
00095 Py::Object getRootNode(void) const;
00097 static int staticCallback_setRootNode (PyObject *self, PyObject *value, void *closure);
00099 void setRootNode(Py::Object arg);
00101 static PyObject * staticCallback_getIV (PyObject *self, void *closure);
00103 Py::String getIV(void) const;
00105 static int staticCallback_setIV (PyObject *self, PyObject *value, void *closure);
00106
00108
00110 PyObject *getCustomAttributes(const char* attr) const;
00112 int setCustomAttributes(const char* attr, PyObject *obj);
00113 PyObject *_getattr(char *attr);
00114 int _setattr(char *attr, PyObject *value);
00115
00117 ViewProvider *getViewProviderPtr(void) const;
00118
00121
00123 };
00124
00125 #define PARENTSGuiViewProviderPy &ViewProviderPy::Type,PARENTSAppPropertyContainerPy
00126
00127 }
00128
00129 #endif // GUI_VIEWPROVIDERPY_H
00130
00131