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::index_range< Index, SizeType > Class Template Reference

#include <index_range.hpp>

Public Types

typedef Index index
 
typedef SizeType size_type
 

Public Member Functions

 index_range ()
 
 index_range (index pos)
 
 index_range (index start, index finish, index stride=1)
 
index_rangestart (index s)
 
index_rangefinish (index f)
 
index_rangestride (index s)
 
index start () const
 
index get_start (index low_index_range=index_range::from_start()) const
 
index finish () const
 
index get_finish (index high_index_range=index_range::to_end()) const
 
index stride () const
 
void set_index_range (index start, index finish, index stride=1)
 
bool is_degenerate () const
 
index_range operator- (index shift) const
 
index_range operator+ (index shift) const
 
index operator[] (unsigned i) const
 
index operator() (unsigned i) const
 

Static Public Member Functions

static index_range all ()
 

Public Attributes

index start_
 
index finish_
 
index stride_
 
bool degenerate_
 

Member Typedef Documentation

template<typename Index, typename SizeType>
typedef Index boost::detail::multi_array::index_range< Index, SizeType >::index
template<typename Index, typename SizeType>
typedef SizeType boost::detail::multi_array::index_range< Index, SizeType >::size_type

Constructor & Destructor Documentation

template<typename Index, typename SizeType>
boost::detail::multi_array::index_range< Index, SizeType >::index_range ( index  start,
index  finish,
index  stride = 1 
)
inlineexplicit

Member Function Documentation

template<typename Index, typename SizeType>
static index_range boost::detail::multi_array::index_range< Index, SizeType >::all ( )
inlinestatic
template<typename Index, typename SizeType>
index boost::detail::multi_array::index_range< Index, SizeType >::get_finish ( index  high_index_range = index_range< Index, SizeType >::to_end()) const
inline
template<typename Index, typename SizeType>
index boost::detail::multi_array::index_range< Index, SizeType >::get_start ( index  low_index_range = index_range< Index, SizeType >::from_start()) const
inline
template<typename Index, typename SizeType>
bool boost::detail::multi_array::index_range< Index, SizeType >::is_degenerate ( ) const
inline
template<typename Index, typename SizeType>
index boost::detail::multi_array::index_range< Index, SizeType >::operator() ( unsigned  i) const
inline
template<typename Index, typename SizeType>
index boost::detail::multi_array::index_range< Index, SizeType >::operator[] ( unsigned  i) const
inline
template<typename Index, typename SizeType>
index_range& boost::detail::multi_array::index_range< Index, SizeType >::stride ( index  s)
inline

Member Data Documentation


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