This is a template class to provide wrapper classes for geometric classes like Base::Matrix4D, Base::Rotation and their Python binding classes. More...
#include <GeometryPyCXX.h>
Public Member Functions | |
virtual bool | accepts (PyObject *pyob) const |
GeometryT (const Object &other) | |
GeometryT (const T &v) | |
GeometryT () | |
GeometryT (const GeometryT &ob) | |
GeometryT (PyObject *pyob, bool owned) | |
const T & | getValue () const |
operator T () const | |
GeometryT & | operator= (const T &v) |
GeometryT & | operator= (PyObject *rhsp) |
GeometryT & | operator= (const Object &rhs) |
This is a template class to provide wrapper classes for geometric classes like Base::Matrix4D, Base::Rotation and their Python binding classes.
Since the class inherits from Py::Object it can be used in the same fashion as Py::String, Py::List, etc. to simplify the usage with them.
Definition at line 98 of file GeometryPyCXX.h.
Py::GeometryT< T, PyT, valuePtr >::GeometryT | ( | PyObject * | pyob, | |
bool | owned | |||
) | [inline, explicit] |
Definition at line 101 of file GeometryPyCXX.h.
References Py::Object::validate().
Py::GeometryT< T, PyT, valuePtr >::GeometryT | ( | const GeometryT< T, PyT, valuePtr > & | ob | ) | [inline] |
Definition at line 104 of file GeometryPyCXX.h.
References Py::Object::validate().
Py::GeometryT< T, PyT, valuePtr >::GeometryT | ( | ) | [inline, explicit] |
Definition at line 107 of file GeometryPyCXX.h.
References Py::Object::validate().
Py::GeometryT< T, PyT, valuePtr >::GeometryT | ( | const T & | v | ) | [inline, explicit] |
Definition at line 112 of file GeometryPyCXX.h.
References Py::Object::validate().
Py::GeometryT< T, PyT, valuePtr >::GeometryT | ( | const Object & | other | ) | [inline] |
Definition at line 117 of file GeometryPyCXX.h.
References Py::Object::validate().
virtual bool Py::GeometryT< T, PyT, valuePtr >::accepts | ( | PyObject * | pyob | ) | const [inline, virtual] |
Reimplemented from Py::Object.
Definition at line 120 of file GeometryPyCXX.h.
Referenced by Base::PlacementPy::setRotation().
const T& Py::GeometryT< T, PyT, valuePtr >::getValue | ( | ) | const [inline] |
Definition at line 138 of file GeometryPyCXX.h.
References Py::Object::ptr().
Py::GeometryT< T, PyT, valuePtr >::operator T | ( | ) | const [inline] |
Definition at line 146 of file GeometryPyCXX.h.
References Py::Object::ptr().
GeometryT& Py::GeometryT< T, PyT, valuePtr >::operator= | ( | const T & | v | ) | [inline] |
Definition at line 133 of file GeometryPyCXX.h.
GeometryT& Py::GeometryT< T, PyT, valuePtr >::operator= | ( | PyObject * | rhsp | ) | [inline] |
Reimplemented from Py::Object.
Definition at line 127 of file GeometryPyCXX.h.
References Py::Object::ptr().
GeometryT& Py::GeometryT< T, PyT, valuePtr >::operator= | ( | const Object & | rhs | ) | [inline] |
Definition at line 123 of file GeometryPyCXX.h.