DocumentObjectPy.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 APP_DOCUMENTOBJECTPY_H
00005 #define APP_DOCUMENTOBJECTPY_H
00006 
00007 #include <App/PropertyContainerPy.h>
00008 #include <App/DocumentObject.h>
00009 #include <string>
00010 
00011 namespace App
00012 {
00013 
00014 //===========================================================================
00015 // DocumentObjectPy - Python wrapper
00016 //===========================================================================
00017 
00020 class AppExport DocumentObjectPy : 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     DocumentObjectPy(DocumentObject *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~DocumentObjectPy();
00035 
00036     typedef DocumentObject* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_touch (PyObject *self, PyObject *args);
00046     PyObject*  touch(PyObject *args);
00048     static PyObject * staticCallback_purgeTouched (PyObject *self, PyObject *args);
00050     PyObject*  purgeTouched(PyObject *args);
00052 
00053 
00056 
00057     static PyObject * staticCallback_getOutList (PyObject *self, void *closure);
00059     Py::List getOutList(void) const;
00061     static int staticCallback_setOutList (PyObject *self, PyObject *value, void *closure);
00062     // no setter method,  OutList is read only!
00064     static PyObject * staticCallback_getInList (PyObject *self, void *closure);
00066     Py::List getInList(void) const;
00068     static int staticCallback_setInList (PyObject *self, PyObject *value, void *closure);
00069     // no setter method,  InList is read only!
00071     static PyObject * staticCallback_getName (PyObject *self, void *closure);
00073     Py::String getName(void) const;
00075     static int staticCallback_setName (PyObject *self, PyObject *value, void *closure);
00076     // no setter method,  Name is read only!
00078     static PyObject * staticCallback_getDocument (PyObject *self, void *closure);
00080     Py::Object getDocument(void) const;
00082     static int staticCallback_setDocument (PyObject *self, PyObject *value, void *closure);
00083     // no setter method,  Document is read only!
00085     static PyObject * staticCallback_getState (PyObject *self, void *closure);
00087     Py::List getState(void) const;
00089     static int staticCallback_setState (PyObject *self, PyObject *value, void *closure);
00090     // no setter method,  State is read only!
00092     static PyObject * staticCallback_getViewObject (PyObject *self, void *closure);
00094     Py::Object getViewObject(void) const;
00096     static int staticCallback_setViewObject (PyObject *self, PyObject *value, void *closure);
00097     // no setter method,  ViewObject is read only!
00099 
00101     PyObject *getCustomAttributes(const char* attr) const;
00103     int setCustomAttributes(const char* attr, PyObject *obj);
00104     PyObject *_getattr(char *attr);              // __getattr__ function
00105     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00106 
00108     DocumentObject *getDocumentObjectPtr(void) const;
00109 
00112 
00114 };
00115 
00116 #define PARENTSAppDocumentObjectPy &DocumentObjectPy::Type,PARENTSAppPropertyContainerPy
00117 
00118 }  //namespace App
00119 
00120 #endif  // APP_DOCUMENTOBJECTPY_H
00121 
00122 

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