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

Iterator base, const be parameterized with 'T' or 'const T'. More...

#include <index_space.hh>

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

Public Member Functions

 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.
 

Protected Attributes

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_base_< S >

Iterator base, const be parameterized with 'T' or 'const T'.


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