Template Struct PrintableVisitor

Inheritance Relationships

Base Type

  • public boost::python::def_visitor< PrintableVisitor< C > >

Struct Documentation

template<class C>
struct PrintableVisitor : public boost::python::def_visitor<PrintableVisitor<C>>

Set the Python method str and repr to use the overloading operator<<.

Public Functions

template<class PyClass>
inline void visit(PyClass &cl) const