casacore
|
A wrapper of a conversion function to convert a STL vector to a Python list. More...
#include <PycBasicData.h>
Static Public Member Functions | |
static boost::python::object | makeobject (ContainerType const &c) |
Creates and returns a Python list from the elements copied from a STL container. More... | |
static PyObject * | convert (ContainerType const &c) |
A wrapper of a conversion function to convert a STL vector to a Python list.
This class satisfies the requirements of the boost::python::to_python_converter conversion template argument.
Copied from scitbx/include/scitbx/boost_python/container_conversions.h that is described in the Boost.Python FAQ.
Definition at line 228 of file PycBasicData.h.
|
inlinestatic |
Definition at line 245 of file PycBasicData.h.
|
inlinestatic |
Creates and returns a Python list from the elements copied from a STL container.
The ContainerType must be a container with STL iterators defined on it. It may contain any type of object supported by the boost::python::object constructor.
Definition at line 235 of file PycBasicData.h.