TwiceAsNice  2019-02-18
Classes | Namespaces | Functions
StlWrapper.hh File Reference
#include <map>
#include <vector>
#include <boost/python.hpp>
#include <boost/foreach.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include <boost/python/suite/indexing/map_indexing_suite.hpp>
Include dependency graph for StlWrapper.hh:
This graph shows which files directly or indirectly include this file:

Classes

struct  Nice::Python::SeqConverters< ValType >
 
struct  Nice::Python::SeqConverters< ValType >::Vector_to_PyList
 
struct  Nice::Python::SeqConverters< ValType >::Vector_from_PyList
 
struct  Nice::Python::MapKeyVal_from_PyDict< KeyType, ValType >
 

Namespaces

 Nice
 

 
 Nice::Python
 

Functions

template<typename ValType >
static PyObjectNice::Python::convertToPyList (const std::vector< ValType > &_v)
 
template<class KeyType , class ValType >
boost::python::dict Nice::Python::convertToPyDict (std::map< KeyType, ValType > map)
 
template<typename Type >
boost::shared_ptr< std::vector< Type > > Nice::Python::convertToSeq (const boost::python::list &_liso)
 
template<typename KeyType , typename ValType >
boost::shared_ptr< std::map< KeyType, ValType > > Nice::Python::convertToMap (const boost::python::dict &_dico)