PlacementPy.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 BASE_PLACEMENTPY_H
00005 #define BASE_PLACEMENTPY_H
00006 
00007 #include <Base/PyObjectBase.h>
00008 #include <Base/Placement.h>
00009 #include <string>
00010 
00011 namespace Base
00012 {
00013 
00014 //===========================================================================
00015 // PlacementPy - Python wrapper
00016 //===========================================================================
00017 
00020 class BaseExport PlacementPy : public Base::PyObjectBase
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     PlacementPy(Placement *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~PlacementPy();
00035 
00036     typedef Placement* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_copy (PyObject *self, PyObject *args);
00046     PyObject*  copy(PyObject *args);
00048     static PyObject * staticCallback_move (PyObject *self, PyObject *args);
00050     PyObject*  move(PyObject *args);
00052     static PyObject * staticCallback_multiply (PyObject *self, PyObject *args);
00054     PyObject*  multiply(PyObject *args);
00056     static PyObject * staticCallback_multVec (PyObject *self, PyObject *args);
00058     PyObject*  multVec(PyObject *args);
00060     static PyObject * staticCallback_toMatrix (PyObject *self, PyObject *args);
00062     PyObject*  toMatrix(PyObject *args);
00064     static PyObject * staticCallback_inverse (PyObject *self, PyObject *args);
00066     PyObject*  inverse(PyObject *args);
00068 
00069 
00072 
00073     static PyObject * staticCallback_getBase (PyObject *self, void *closure);
00075     Py::Object getBase(void) const;
00077     static int staticCallback_setBase (PyObject *self, PyObject *value, void *closure);
00079     void setBase(Py::Object arg);
00081     static PyObject * staticCallback_getRotation (PyObject *self, void *closure);
00083     Py::Object getRotation(void) const;
00085     static int staticCallback_setRotation (PyObject *self, PyObject *value, void *closure);
00087     void setRotation(Py::Object arg);
00089 
00091     PyObject *getCustomAttributes(const char* attr) const;
00093     int setCustomAttributes(const char* attr, PyObject *obj);
00094     PyObject *_getattr(char *attr);              // __getattr__ function
00095     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00096 
00098     Placement *getPlacementPtr(void) const;
00099 
00102 
00104 };
00105 
00106 #define PARENTSBasePlacementPy &PlacementPy::Type,PARENTSBasePyObjectBase
00107 
00108 }  //namespace Base
00109 
00110 #endif  // BASE_PLACEMENTPY_H
00111 
00112 

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