Operations class for container distributions that provides global iteration. More...
Public Member Functions | |
iterator | make_iterator (gid_type const &gid) |
Construct an iterator to a specific GID of the container. More... | |
const_iterator | make_const_iterator (gid_type const &gid) const |
Construct a const_iterator to a specific GID of the container. More... | |
iterator | begin () |
Construct an iterator to the beginning of the container. More... | |
const_iterator | begin () const |
Construct a const_iterator to the beginning of the container. More... | |
const_iterator | cbegin () const |
Construct a const_iterator to the beginning of the container. More... | |
iterator | end () |
Construct an iterator to the end of the container. More... | |
const_iterator | end () const |
Construct a const_iterator to the end of the container. More... | |
const_iterator | cend () const |
Construct a const_iterator to the end of the container. More... | |
Public Types | |
typedef std::random_access_iterator_tag | iterator_category |
typedef traits_t::gid_type | gid_type |
typedef container_accessor< container_t > | accessor_type |
typedef const_container_accessor< container_t > | const_accessor_type |
typedef container_iterator< container_t, accessor_type, iterator_category > | iterator |
typedef const_container_iterator< container_t, const_accessor_type, iterator_category > | const_iterator |
Operations class for container distributions that provides global iteration.
Derived | The most derived distribution class |
iterator stapl::operations::iterable< Derived >::make_iterator | ( | gid_type const & | gid | ) |
Construct an iterator to a specific GID of the container.
gid | The GID for which to create the iterator |
const_iterator stapl::operations::iterable< Derived >::make_const_iterator | ( | gid_type const & | gid | ) | const |
Construct a const_iterator to a specific GID of the container.
gid | The GID for which to create the const_iterator |
iterator stapl::operations::iterable< Derived >::begin | ( | void | ) |
Construct an iterator to the beginning of the container.
const_iterator stapl::operations::iterable< Derived >::begin | ( | void | ) | const |
Construct a const_iterator to the beginning of the container.
const_iterator stapl::operations::iterable< Derived >::cbegin | ( | ) | const |
Construct a const_iterator to the beginning of the container.
iterator stapl::operations::iterable< Derived >::end | ( | void | ) |
Construct an iterator to the end of the container.
const_iterator stapl::operations::iterable< Derived >::end | ( | void | ) | const |
Construct a const_iterator to the end of the container.
const_iterator stapl::operations::iterable< Derived >::cend | ( | ) | const |
Construct a const_iterator to the end of the container.