toast/python/container.hpp File Reference


Detailed Description

This file contains the toast::python::register_container helper.

#include <exception>
#include <vector>
#include <deque>
#include <list>
#include <set>
#include <map>
#include <memory>
#include <bitset>
#include <string>
#include <boost/python.hpp>
#include <boost/python/slice.hpp>
#include <boost/python/make_constructor.hpp>
#include <toast/typeinfo.hpp>
#include <toast/scope_guard.hpp>
#include <boost/mpl/bool.hpp>

Go to the source code of this file.

Namespaces

namespace  toast
namespace  toast::python
namespace  toast::python::detail
namespace  boost
namespace  boost::python
namespace  boost::python::converter

Classes

struct  toast::python::register_container< T >
 Register a container to be automatically wrapped in python with Boost.Python. More...
struct  toast::python::detail::implicit< Container >
struct  toast::python::detail::refwrapper< T, MakePtr >
struct  toast::python::detail::refwrapper< T, boost::mpl::bool_< true > >
struct  toast::python::detail::refwrapper< T, boost::mpl::bool_< false > >
struct  toast::python::detail::can_take_reference< T >
struct  toast::python::detail::register_std_container< Container >
struct  toast::python::detail::register_std_sequence< Container >
struct  toast::python::detail::register_std_ra_sequence< Container >
struct  toast::python::register_container< std::map< KeyType, ValueType > >
struct  toast::python::register_container< std::set< ContainedType > >
struct  toast::python::register_container< std::vector< ContainedType > >
struct  toast::python::register_container< std::deque< ContainedType > >
struct  toast::python::register_container< std::list< ContainedType > >
struct  toast::python::register_container< std::bitset< bitsize > >
struct  boost::python::converter::implicit< boost::python::object, std::set< T > >
struct  boost::python::converter::implicit< boost::python::object, std::vector< T > >
struct  boost::python::converter::implicit< boost::python::object, std::deque< T > >
struct  boost::python::converter::implicit< boost::python::object, std::list< T > >
struct  boost::python::converter::implicit< boost::python::object, std::map< KeyType, ValueType > >
struct  boost::python::converter::implicit< boost::python::object, std::bitset< n > >

Functions

template<typename T>
boost::python::object toast::python::detail::getrefobj (T &val)


SourceForge.net Logo