#include <pyconversions.h>
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 37 of file pyconversions.h.
Static Public Member Functions | |
static PyObject * | convert (ContainerType const &c) |
Creates and returns a Python tuple from the elements copied from a STL container. |
static PyObject* convert | ( | ContainerType const & | c | ) | [inline, static] |
Creates and returns a Python tuple
from the elements copied from a STL container.
The ContainerType
must be a vector, but may contain any type of object supported by the boost::python::object constructor.
Definition at line 43 of file pyconversions.h.