Template Struct IdVisitor

Inheritance Relationships

Base Type

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

Struct Documentation

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

Add the Python method id to retrieving a unique id for a given object exposed with Boost.Python.

Public Functions

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