5 #ifndef __pinocchio_python_utils_printable_hpp__ 6 #define __pinocchio_python_utils_printable_hpp__ 8 #include <boost/python.hpp> 23 template<
class PyClass>
27 .def(bp::self_ns::str(bp::self_ns::self))
28 .def(bp::self_ns::repr(bp::self_ns::self))
35 #endif // ifndef __pinocchio_python_utils_printable_hpp__ Set the Python method str and repr to use the overloading operator<<.
void visit(PyClass &cl) const
Main pinocchio namespace.