DASH  0.3.0
dash::ViewSubMod< DomainType, SubDim, NDim > Class Template Reference

Public Types

typedef DomainType domain_type
 
typedef base_t::origin_type origin_type
 
typedef view_traits< domain_type >::index_type index_type
 
typedef view_traits< domain_type >::size_type size_type
 
typedef ViewLocalMod< self_t, NDim > local_type
 
typedef self_t global_type
 
typedef std::integral_constant< bool, false > is_local
 
typedef dash::IndexSetSub< domain_type, SubDim > index_set_type
 
typedef ViewIterator< typename base_t::origin_iterator, index_set_type > iterator
 
typedef ViewIterator< typename base_t::const_origin_iterator, index_set_type > const_iterator
 
using reference = typename base_t::reference
 
using const_reference = typename base_t::const_reference
 
typedef std::conditional< view_traits< domain_type >::is_origin::value, const domain_type &, domain_type >::type domain_member_type
 
typedef origin_type::value_type value_type
 
typedef std::integral_constant< dim_t, NDim > rank
 

Public Member Functions

constexpr ViewSubMod (self_t &&)=default
 
constexpr ViewSubMod (const self_t &)=default
 
self_toperator= (self_t &&)=default
 
self_toperator= (const self_t &)=default
 
constexpr ViewSubMod (domain_type &&domain, index_type begin, index_type end)
 
constexpr ViewSubMod (const domain_type &domain, index_type begin, index_type end)
 
constexpr std::array< size_type, NDim > extents () const
 
template<dim_t ExtDim>
constexpr size_type extent () const
 
constexpr size_type extent (dim_t shape_dim) const
 
template<dim_t ExtDim>
constexpr index_type offset () const
 
constexpr std::array< index_type, NDim > offsets () const
 
constexpr index_type offset (dim_t shape_dim) const
 
constexpr size_type size (dim_t sub_dim=0) const
 
constexpr const_iterator begin () const
 
iterator begin ()
 
constexpr const_iterator end () const
 
iterator end ()
 
constexpr const_reference operator[] (int offset) const
 
reference operator[] (int offset)
 
constexpr const index_set_type & index_set () const
 
constexpr local_type local () const
 
constexpr const domain_type & domain () const &
 
constexpr domain_type domain () const &&
 
constexpr bool operator== (const ViewSubMod< DomainType, SubDim, NDim > &rhs) const
 
constexpr bool operator!= (const ViewSubMod< DomainType, SubDim, NDim > &rhs) const
 
constexpr bool is_local () const
 
constexpr index_type size () const
 

Static Public Member Functions

static constexpr dim_t ndim ()
 

Public Attributes

decltype(dash::begin(std::declval< typename std::add_lvalue_reference< origin_type >::type >())) typedef origin_iterator
 
decltype(dash::begin(std::declval< typename std::add_lvalue_reference< const origin_type >::type >())) typedef const_origin_iterator
 

Detailed Description

template<class DomainType, dim_t SubDim, dim_t NDim>
class dash::ViewSubMod< DomainType, SubDim, NDim >

Definition at line 573 of file ViewMod.h.


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