VectorToListConverter< T > Struct Template Reference

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

#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  )  [inline, static]

Definition at line 38 of file vec_to_list_conv.hh.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1