Template Struct CopyableVisitor

Inheritance Relationships

Base Type

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

Struct Documentation

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

Add the Python method copy to allow a copy of this by calling the copy constructor.

Public Functions

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