13 #ifndef ESYS_LSMVECTORPY_H
14 #define ESYS_LSMVECTORPY_H
16 #include <boost/python.hpp>
24 template <
typename TmplElem>
46 VectorPy(boost::python::object &iterable);
48 void append(const_reference e);
54 void setItem(
int i, const_reference e);
56 static boost::python::class_<VectorPy>
58 const std::string &pyClassName,
59 const std::string &pyClassDocString
size_t getIndex(int i) const
Definition: VectorPy.hpp:53
VectorPy()
Definition: VectorPy.hpp:21
Definition: VectorPy.h:25
void setItem(int i, const_reference e)
Definition: VectorPy.hpp:74
std::vector< TmplElem > Inherited
Definition: VectorPy.h:28
Definition: CheckPointable.cpp:16
Inherited::reference reference
Definition: VectorPy.h:30
Definition: VectorPy.h:32
static boost::python::tuple getinitargs(VectorPy const &v)
Definition: VectorPy.hpp:81
static boost::python::class_< VectorPy > exportVector(const std::string &pyClassName, const std::string &pyClassDocString)
Definition: VectorPy.hpp:88
void append(const_reference e)
Definition: VectorPy.hpp:47
Inherited::const_reference const_reference
Definition: VectorPy.h:29
reference getItem(int i)
Definition: VectorPy.hpp:68