TwiceAsNice
2019-02-18
|
#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>
Namespaces | |
Nice | |
Nice::Python | |
Functions | |
template<typename ValType > | |
static PyObject * | Nice::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) |