OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions
VectorToListConverter< T > Struct Template Reference

#include <vec_to_list_conv.hh>

Static Public Member Functions

static PyObject * convert (const std::vector< T > &vec)
 

Detailed Description

template<typename T>
struct ost::VectorToListConverter< T >

helper to convert between python list tuple and std::vecot

Usage:

boost::python::to_python_converter<std::vector<T>, VectorToListConverter<T> >()

Definition at line 37 of file vec_to_list_conv.hh.

Member Function Documentation

static PyObject* convert ( const std::vector< T > &  vec)
inlinestatic

Definition at line 38 of file vec_to_list_conv.hh.


The documentation for this struct was generated from the following file: