STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::domain_impl::core_iteratorDom< Container, Functor > Class Template Reference

Defines a domain represented by two iterators, where all the elements between these two iterators belong to the domain. More...

Public Member Functions

 core_iteratorDom (Container const &cont, Functor const &func=Functor(), index_type const &end=index_type())
 
 core_iteratorDom (index_type const &index1, index_type const &index2)
 
 core_iteratorDom (index_type const &index1, index_type const &index2, Container const &cont, size_type size=index_bounds< size_type >::invalid())
 
 core_iteratorDom (index_type const &index1, index_type const &index2, index_type const &end, Container const &c)
 
 core_iteratorDom (index_type const &index1, index_type const &index2, core_iteratorDom const &other)
 
bool container_null (void) const
 
Container & container (void) const
 
index_type first (void) const
 
index_type last (void) const
 
index_type open_last (void) const
 Returns termination value for comparison. More...
 
size_type size (void) const
 
bool contains (index_type const &index) const
 
bool empty (void) const
 
template<typename Distance >
index_type advance (index_type const &index, Distance n) const
 
size_type distance (index_type const &a, index_type const &b) const
 
bool is_same_container_domain (void) const
 
template<typename ODom >
core_iteratorDom operator & (ODom const &other) const
 

Public Types

typedef container_traits< Container >::gid_type index_type
 
typedef std::size_t size_type
 

Detailed Description

template<typename Container, typename Functor = f_deref<typename container_traits<Container>::gid_type>>
class stapl::domain_impl::core_iteratorDom< Container, Functor >

Defines a domain represented by two iterators, where all the elements between these two iterators belong to the domain.

Template Parameters
ContainerContainer which the iterators are coming from.
FunctorFunctor type used to extract the index from the pointed element.

Member Function Documentation

◆ container()

template<typename Container , typename Functor = f_deref<typename container_traits<Container>::gid_type>>
Container& stapl::domain_impl::core_iteratorDom< Container, Functor >::container ( void  ) const

◆ open_last()

template<typename Container , typename Functor = f_deref<typename container_traits<Container>::gid_type>>
index_type stapl::domain_impl::core_iteratorDom< Container, Functor >::open_last ( void  ) const

Returns termination value for comparison.


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