DocumentObjectGroupPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef APP_DOCUMENTOBJECTGROUPPY_H
00005 #define APP_DOCUMENTOBJECTGROUPPY_H
00006
00007 #include <App/DocumentObjectPy.h>
00008 #include <App/DocumentObjectGroup.h>
00009 #include <string>
00010
00011 namespace App
00012 {
00013
00014
00015
00016
00017
00020 class AppExport DocumentObjectGroupPy : public App::DocumentObjectPy
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 DocumentObjectGroupPy(DocumentObjectGroup *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~DocumentObjectGroupPy();
00035
00036 typedef DocumentObjectGroup* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_newObject (PyObject *self, PyObject *args);
00046 PyObject* newObject(PyObject *args);
00048 static PyObject * staticCallback_addObject (PyObject *self, PyObject *args);
00050 PyObject* addObject(PyObject *args);
00052 static PyObject * staticCallback_removeObject (PyObject *self, PyObject *args);
00054 PyObject* removeObject(PyObject *args);
00056 static PyObject * staticCallback_removeObjectsFromDocument (PyObject *self, PyObject *args);
00058 PyObject* removeObjectsFromDocument(PyObject *args);
00060 static PyObject * staticCallback_getObject (PyObject *self, PyObject *args);
00062 PyObject* getObject(PyObject *args);
00064 static PyObject * staticCallback_hasObject (PyObject *self, PyObject *args);
00066 PyObject* hasObject(PyObject *args);
00068
00069
00072
00073
00075 PyObject *getCustomAttributes(const char* attr) const;
00077 int setCustomAttributes(const char* attr, PyObject *obj);
00078 PyObject *_getattr(char *attr);
00079 int _setattr(char *attr, PyObject *value);
00080
00082 DocumentObjectGroup *getDocumentObjectGroupPtr(void) const;
00083
00086
00088 };
00089
00090 #define PARENTSAppDocumentObjectGroupPy &DocumentObjectGroupPy::Type,PARENTSAppDocumentObjectPy
00091
00092 }
00093
00094 #endif // APP_DOCUMENTOBJECTGROUPPY_H
00095
00096