Template Struct ExposeStdMethodToStdVector

Inheritance Relationships

Base Type

  • public boost::python::def_visitor< ExposeStdMethodToStdVector< Container, NoProxy, CoVisitor > >

Struct Documentation

template<typename Container, bool NoProxy, typename CoVisitor>
struct ExposeStdMethodToStdVector : public boost::python::def_visitor<ExposeStdMethodToStdVector<Container, NoProxy, CoVisitor>>

Add standard method to a std::vector.

Template Parameters:

NoProxy – When set to false, the elements will be copied when returned to Python.

Public Types

typedef StdContainerFromPythonList<Container, NoProxy> FromPythonListConverter

Public Functions

inline ExposeStdMethodToStdVector(const CoVisitor &co_visitor)
template<class Class>
inline void visit(Class &cl) const

Public Members

const CoVisitor &m_co_visitor