Interface Documentation
Version: invalid
Public Types | Public Member Functions | Friends | List of all members
flecsi::topo::index_space< T, STORAGE, OWNED, SORTED, F, ID_STORAGE_TYPE, STORAGE_TYPE >::iterator_< S, void > Class Template Reference

#include <index_space.hh>

Inheritance diagram for flecsi::topo::index_space< T, STORAGE, OWNED, SORTED, F, ID_STORAGE_TYPE, STORAGE_TYPE >::iterator_< S, void >:
Inheritance graph
[legend]
Collaboration diagram for flecsi::topo::index_space< T, STORAGE, OWNED, SORTED, F, ID_STORAGE_TYPE, STORAGE_TYPE >::iterator_< S, void >:
Collaboration graph
[legend]

Public Types

using B = iterator_base_< S >
 
using ref_t = index_space_ref_type< S >
 

Public Member Functions

 iterator_ (storage_t *s, const id_storage_t &items, size_t index, size_t end)
 Initialize iterator from items and range.
 
 iterator_ (const storage_t *s, const id_storage_t &items, size_t index, size_t end)
 Initialize iterator from items and range.
 
iterator_operator++ ()
 Increment operator.
 
iterator_operator-- ()
 Decrement operator.
 
iterator_ operator++ (int)
 Post-increment operator.
 
iterator_ operator-- (int)
 Post-decrement operator.
 
iterator_ operator+ (size_t offset) const
 Plus offset operator.
 
iterator_ operator- (size_t offset) const
 Minus offset operator.
 
iterator_operator+= (size_t offset)
 Plus assignment offset operator.
 
iterator_operator-= (size_t offset)
 Minus assignment offset operator.
 
operator* ()
 Dereference operator.
 
S * operator-> ()
 Arrow operator.
 
- Public Member Functions inherited from flecsi::topo::index_space< T, STORAGE, OWNED, SORTED, F, ID_STORAGE_TYPE, STORAGE_TYPE >::iterator_base_< S >
 iterator_base_ (storage_t *s, const id_storage_t &items, size_t index, size_t end)
 Initialize iterator from items and range.
 
 iterator_base_ (const storage_t *s, const id_storage_t &items, size_t index, size_t end)
 Initialize iterator from items and range.
 
bool operator== (const iterator_base_ &itr) const
 Equality operator.
 
bool operator!= (const iterator_base_ &itr) const
 Inequality operator.
 
bool operator< (const iterator_base_ &itr) const
 Less than operator.
 
bool operator<= (const iterator_base_ &itr) const
 Less than equal operator.
 
bool operator> (const iterator_base_ &itr) const
 Greater than operator.
 
bool operator>= (const iterator_base_ &itr) const
 Greater than equal operator.
 
size_t operator- (const iterator_base_ &itr) const
 Difference.
 
auto get_ (size_t index)
 Helper method. Get item at index.
 
auto operator[] (size_t index) const
 Get item at index.
 

Friends

iterator_ operator+ (size_t offset, const iterator_ &itr)
 Plus offset operator.
 
iterator_ operator- (size_t offset, const iterator_ &itr)
 Minus offset operator.
 

Additional Inherited Members

- Protected Attributes inherited from flecsi::topo::index_space< T, STORAGE, OWNED, SORTED, F, ID_STORAGE_TYPE, STORAGE_TYPE >::iterator_base_< S >
const id_storage_titems_
 
size_t index_
 
size_t end_
 
storage_ts_
 

Detailed Description

template<class T, bool STORAGE = false, bool OWNED = true, bool SORTED = false, class F = void, template< typename, typename... > class ID_STORAGE_TYPE = std::vector, template< typename, typename... > class STORAGE_TYPE = ID_STORAGE_TYPE>
template<class S>
class flecsi::topo::index_space< T, STORAGE, OWNED, SORTED, F, ID_STORAGE_TYPE, STORAGE_TYPE >::iterator_< S, void >

Non-predicated iterator.

Template Parameters
Sreference return type

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