Template Struct PickleVector

Inheritance Relationships

Base Type

  • public boost::python::pickle_suite

Struct Documentation

template<typename VecType>
struct PickleVector : public boost::python::pickle_suite

Create a pickle interface for the std::vector.

Template Parameters:

VecType – Vector Type to pickle

Public Static Functions

static inline boost::python::tuple getinitargs(const VecType&)
static inline boost::python::tuple getstate(boost::python::object op)
static inline void setstate(boost::python::object op, boost::python::tuple tup)
static inline bool getstate_manages_dict()