Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::detail::multi_array::multi_array_impl_base< T, NumDims > Class Template Reference

#include <base.hpp>

Inheritance diagram for boost::detail::multi_array::multi_array_impl_base< T, NumDims >:
Collaboration diagram for boost::detail::multi_array::multi_array_impl_base< T, NumDims >:

Classes

struct  array_view
 
struct  const_array_view
 
struct  const_subarray
 
struct  subarray
 

Public Types

typedef types::index index
 
typedef types::size_type size_type
 
typedef types::element element
 
typedef types::index_range index_range
 
typedef types::value_type value_type
 
typedef types::reference reference
 
typedef types::const_reference const_reference
 
typedef array_iterator< T, T
*, mpl::size_t< NumDims >
, reference,
boost::random_access_traversal_tag > 
iterator
 
typedef array_iterator< T, T
const *, mpl::size_t< NumDims >
, const_reference,
boost::random_access_traversal_tag > 
const_iterator
 
typedef
::boost::reverse_iterator
< iterator
reverse_iterator
 
typedef
::boost::reverse_iterator
< const_iterator
const_reverse_iterator
 

Public Member Functions

 BOOST_STATIC_CONSTANT (std::size_t, dimensionality=NumDims)
 

Protected Member Functions

 multi_array_impl_base ()
 
 ~multi_array_impl_base ()
 
template<typename Reference , typename IndexList , typename TPtr >
Reference access_element (boost::type< Reference >, const IndexList &indices, TPtr base, const size_type *extents, const index *strides, const index *index_bases) const
 
template<typename StrideList , typename ExtentList >
void compute_strides (StrideList &stride_list, ExtentList &extent_list, const general_storage_order< NumDims > &storage)
 
template<typename StrideList , typename ExtentList , typename BaseList >
index calculate_origin_offset (const StrideList &stride_list, const ExtentList &extent_list, const general_storage_order< NumDims > &storage, const BaseList &index_base_list)
 
template<typename StrideList , typename ExtentList >
index calculate_descending_dimension_offset (const StrideList &stride_list, const ExtentList &extent_list, const general_storage_order< NumDims > &storage)
 
template<typename StrideList , typename BaseList >
index calculate_indexing_offset (const StrideList &stride_list, const BaseList &index_base_list)
 
template<typename ArrayRef , int NDims, typename TPtr >
ArrayRef generate_array_view (boost::type< ArrayRef >, const boost::detail::multi_array::index_gen< NumDims, NDims > &indices, const size_type *extents, const index *strides, const index *index_bases, TPtr base) const
 

Member Typedef Documentation

template<typename T , std::size_t NumDims>
typedef array_iterator<T,T const*,mpl::size_t<NumDims>,const_reference, boost::random_access_traversal_tag> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::const_iterator
template<typename T , std::size_t NumDims>
typedef types::const_reference boost::detail::multi_array::multi_array_impl_base< T, NumDims >::const_reference
template<typename T , std::size_t NumDims>
typedef ::boost::reverse_iterator<const_iterator> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::const_reverse_iterator
template<typename T , std::size_t NumDims>
typedef types::element boost::detail::multi_array::multi_array_impl_base< T, NumDims >::element
template<typename T , std::size_t NumDims>
typedef types::index boost::detail::multi_array::multi_array_impl_base< T, NumDims >::index
template<typename T , std::size_t NumDims>
typedef types::index_range boost::detail::multi_array::multi_array_impl_base< T, NumDims >::index_range
template<typename T , std::size_t NumDims>
typedef array_iterator<T,T*,mpl::size_t<NumDims>,reference, boost::random_access_traversal_tag> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::iterator
template<typename T , std::size_t NumDims>
typedef types::reference boost::detail::multi_array::multi_array_impl_base< T, NumDims >::reference
template<typename T , std::size_t NumDims>
typedef ::boost::reverse_iterator<iterator> boost::detail::multi_array::multi_array_impl_base< T, NumDims >::reverse_iterator
template<typename T , std::size_t NumDims>
typedef types::size_type boost::detail::multi_array::multi_array_impl_base< T, NumDims >::size_type
template<typename T , std::size_t NumDims>
typedef types::value_type boost::detail::multi_array::multi_array_impl_base< T, NumDims >::value_type

Constructor & Destructor Documentation

template<typename T , std::size_t NumDims>
boost::detail::multi_array::multi_array_impl_base< T, NumDims >::multi_array_impl_base ( )
inlineprotected
template<typename T , std::size_t NumDims>
boost::detail::multi_array::multi_array_impl_base< T, NumDims >::~multi_array_impl_base ( )
inlineprotected

Member Function Documentation

template<typename T , std::size_t NumDims>
boost::detail::multi_array::multi_array_impl_base< T, NumDims >::BOOST_STATIC_CONSTANT ( std::size_t  ,
dimensionality  = NumDims 
)
template<typename T , std::size_t NumDims>
template<typename StrideList , typename ExtentList >
index boost::detail::multi_array::multi_array_impl_base< T, NumDims >::calculate_descending_dimension_offset ( const StrideList &  stride_list,
const ExtentList &  extent_list,
const general_storage_order< NumDims > &  storage 
)
inlineprotected
template<typename T , std::size_t NumDims>
template<typename StrideList , typename BaseList >
index boost::detail::multi_array::multi_array_impl_base< T, NumDims >::calculate_indexing_offset ( const StrideList &  stride_list,
const BaseList &  index_base_list 
)
inlineprotected
template<typename T , std::size_t NumDims>
template<typename StrideList , typename ExtentList , typename BaseList >
index boost::detail::multi_array::multi_array_impl_base< T, NumDims >::calculate_origin_offset ( const StrideList &  stride_list,
const ExtentList &  extent_list,
const general_storage_order< NumDims > &  storage,
const BaseList &  index_base_list 
)
inlineprotected
template<typename T , std::size_t NumDims>
template<typename StrideList , typename ExtentList >
void boost::detail::multi_array::multi_array_impl_base< T, NumDims >::compute_strides ( StrideList &  stride_list,
ExtentList &  extent_list,
const general_storage_order< NumDims > &  storage 
)
inlineprotected

The documentation for this class was generated from the following file: