5#ifndef __pinocchio_python_utils_printable_hpp__
6#define __pinocchio_python_utils_printable_hpp__
8#include <boost/python.hpp>
15 namespace bp = boost::python;
21 struct PrintableVisitor :
public bp::def_visitor<PrintableVisitor<C>>
23 template<
class PyClass>
24 void visit(PyClass & cl)
const
26 cl.def(bp::self_ns::str(bp::self_ns::self)).def(bp::self_ns::repr(bp::self_ns::self));
Main pinocchio namespace.