SelectionObjectPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef GUI_SELECTIONOBJECTPY_H
00005 #define GUI_SELECTIONOBJECTPY_H
00006
00007 #include <Base/BaseClassPy.h>
00008 #include <Gui/SelectionObject.h>
00009 #include <string>
00010
00011 namespace Gui
00012 {
00013
00014
00015
00016
00017
00020 class GuiExport SelectionObjectPy : public Base::BaseClassPy
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 SelectionObjectPy(SelectionObject *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~SelectionObjectPy();
00035
00036 typedef SelectionObject* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_remove (PyObject *self, PyObject *args);
00046 PyObject* remove(PyObject *args);
00048 static PyObject * staticCallback_isA (PyObject *self, PyObject *args);
00050 PyObject* isA(PyObject *args);
00052
00053
00056
00057 static PyObject * staticCallback_getObjectName (PyObject *self, void *closure);
00059 Py::String getObjectName(void) const;
00061 static int staticCallback_setObjectName (PyObject *self, PyObject *value, void *closure);
00062
00064 static PyObject * staticCallback_getSubElementNames (PyObject *self, void *closure);
00066 Py::List getSubElementNames(void) const;
00068 static int staticCallback_setSubElementNames (PyObject *self, PyObject *value, void *closure);
00069
00071 static PyObject * staticCallback_getFullName (PyObject *self, void *closure);
00073 Py::String getFullName(void) const;
00075 static int staticCallback_setFullName (PyObject *self, PyObject *value, void *closure);
00076
00078 static PyObject * staticCallback_getDocumentName (PyObject *self, void *closure);
00080 Py::String getDocumentName(void) const;
00082 static int staticCallback_setDocumentName (PyObject *self, PyObject *value, void *closure);
00083
00085 static PyObject * staticCallback_getDocument (PyObject *self, void *closure);
00087 Py::Object getDocument(void) const;
00089 static int staticCallback_setDocument (PyObject *self, PyObject *value, void *closure);
00090
00092 static PyObject * staticCallback_getObject (PyObject *self, void *closure);
00094 Py::Object getObject(void) const;
00096 static int staticCallback_setObject (PyObject *self, PyObject *value, void *closure);
00097
00099 static PyObject * staticCallback_getSubObjects (PyObject *self, void *closure);
00101 Py::List getSubObjects(void) const;
00103 static int staticCallback_setSubObjects (PyObject *self, PyObject *value, void *closure);
00104
00106 static PyObject * staticCallback_getHasSubObjects (PyObject *self, void *closure);
00108 Py::Boolean getHasSubObjects(void) const;
00110 static int staticCallback_setHasSubObjects (PyObject *self, PyObject *value, void *closure);
00111
00113
00115 PyObject *getCustomAttributes(const char* attr) const;
00117 int setCustomAttributes(const char* attr, PyObject *obj);
00118 PyObject *_getattr(char *attr);
00119 int _setattr(char *attr, PyObject *value);
00120
00122 SelectionObject *getSelectionObjectPtr(void) const;
00123
00126
00128 };
00129
00130 #define PARENTSGuiSelectionObjectPy &SelectionObjectPy::Type,PARENTSBaseBaseClassPy
00131
00132 }
00133
00134 #endif // GUI_SELECTIONOBJECTPY_H
00135
00136