Template Class array_indexing_suite

Inheritance Relationships

Base Type

  • public boost::python::vector_indexing_suite< Container, false, details::final_array_derived_policies< Container, false, std::allocator< typename Container::value_type > > >

Class Documentation

template<typename Container, bool NoProxy = false, class SliceAllocator = std::allocator<typename Container::value_type>, class DerivedPolicies = details::final_array_derived_policies<Container, NoProxy, SliceAllocator>>
class array_indexing_suite : public boost::python::vector_indexing_suite<Container, false, details::final_array_derived_policies<Container, false, std::allocator<typename Container::value_type>>>

Public Types

typedef Container::value_type data_type
typedef Container::value_type key_type
typedef Container::size_type index_type
typedef Container::size_type size_type
typedef Container::difference_type difference_type
typedef std::vector<data_type, SliceAllocator> slice_vector_type

Public Static Functions

template<class Class>
static inline void extension_def(Class&)
static inline void delete_item(Container&, index_type)
static inline void delete_slice(Container&, index_type, index_type)
static inline void set_slice(Container &container, index_type from, index_type to, data_type const &v)
template<class Iter>
static inline void set_slice(Container &container, index_type from, index_type to, Iter first, Iter last)
static inline bp::object get_slice(Container &container, index_type from, index_type to)

Public Static Attributes

static constexpr std::size_t Size = std::tuple_size<Container>{}