Multiscale Universal Interface  2.0
A Concurrent Framework for Coupling Heterogeneous Solvers
mui::index_iterator< V, ARRAY > Struct Template Reference

#include <virtual_container.h>

Inheritance diagram for mui::index_iterator< V, ARRAY >:
Collaboration diagram for mui::index_iterator< V, ARRAY >:

Public Types

typedef std::iterator< std::forward_iterator_tag, V > iterator
 
typedef iterator::iterator_category iterator_category
 
typedef iterator::value_type value_type
 
typedef iterator::difference_type difference_type
 
typedef iterator::pointer pointer
 
typedef iterator::reference reference
 

Public Member Functions

 index_iterator (ARRAY &array, std::size_t index=0)
 
 index_iterator ()=default
 
 index_iterator (const index_iterator &)=default
 
index_iteratoroperator= (const index_iterator &)=default
 
value_type operator* () const
 
reference operator* ()
 
const pointer operator-> () const
 
pointer operator-> ()
 
index_iteratoroperator++ ()
 
index_iterator operator++ (int)
 
bool operator== (const index_iterator &rhs) const
 
bool operator!= (const index_iterator &rhs) const
 

Member Typedef Documentation

◆ difference_type

template<typename V , typename ARRAY >
typedef iterator::difference_type mui::index_iterator< V, ARRAY >::difference_type

◆ iterator

template<typename V , typename ARRAY >
typedef std::iterator<std::forward_iterator_tag,V> mui::index_iterator< V, ARRAY >::iterator

◆ iterator_category

template<typename V , typename ARRAY >
typedef iterator::iterator_category mui::index_iterator< V, ARRAY >::iterator_category

◆ pointer

template<typename V , typename ARRAY >
typedef iterator::pointer mui::index_iterator< V, ARRAY >::pointer

◆ reference

template<typename V , typename ARRAY >
typedef iterator::reference mui::index_iterator< V, ARRAY >::reference

◆ value_type

template<typename V , typename ARRAY >
typedef iterator::value_type mui::index_iterator< V, ARRAY >::value_type

Constructor & Destructor Documentation

◆ index_iterator() [1/3]

template<typename V , typename ARRAY >
mui::index_iterator< V, ARRAY >::index_iterator ( ARRAY &  array,
std::size_t  index = 0 
)
inline

◆ index_iterator() [2/3]

template<typename V , typename ARRAY >
mui::index_iterator< V, ARRAY >::index_iterator ( )
default

◆ index_iterator() [3/3]

template<typename V , typename ARRAY >
mui::index_iterator< V, ARRAY >::index_iterator ( const index_iterator< V, ARRAY > &  )
default

Member Function Documentation

◆ operator!=()

template<typename V , typename ARRAY >
bool mui::index_iterator< V, ARRAY >::operator!= ( const index_iterator< V, ARRAY > &  rhs) const
inline

◆ operator*() [1/2]

template<typename V , typename ARRAY >
reference mui::index_iterator< V, ARRAY >::operator* ( )
inline

◆ operator*() [2/2]

template<typename V , typename ARRAY >
value_type mui::index_iterator< V, ARRAY >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename V , typename ARRAY >
index_iterator& mui::index_iterator< V, ARRAY >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename V , typename ARRAY >
index_iterator mui::index_iterator< V, ARRAY >::operator++ ( int  )
inline

◆ operator->() [1/2]

template<typename V , typename ARRAY >
pointer mui::index_iterator< V, ARRAY >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename V , typename ARRAY >
const pointer mui::index_iterator< V, ARRAY >::operator-> ( ) const
inline

◆ operator=()

template<typename V , typename ARRAY >
index_iterator& mui::index_iterator< V, ARRAY >::operator= ( const index_iterator< V, ARRAY > &  )
default

◆ operator==()

template<typename V , typename ARRAY >
bool mui::index_iterator< V, ARRAY >::operator== ( const index_iterator< V, ARRAY > &  rhs) const
inline

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