Loading...
Searching...
No Matches
ListsRefWrap< V >::iterator Struct Reference

#include <ListExpression.H>

Collaboration diagram for ListsRefWrap< V >::iterator:

Public Types

using iterator_category = std::random_access_iterator_tag
using difference_type = this_type::difference_type
using value_type = this_type::value_type
using pointer = this_type::pointer
using reference = this_type::reference

Public Member Functions

 iterator (this_type &base, const label index)
 iterator (const iterator &it)=default
 iterator ()=delete
iteratoroperator= (const iterator &it)
value_typeoperator* ()
value_type operator* () const
value_type operator-> () const
value_typeoperator-> ()
value_type operator[] (const difference_type i) const
value_typeoperator[] (const difference_type i)
iteratoroperator++ ()
iterator operator++ (int)
iteratoroperator-- ()
iterator operator-- (int)
iterator operator+ (const difference_type i) const
iterator operator- (const difference_type i) const
difference_type operator- (const iterator &it) const
bool operator== (const iterator &it) const
bool operator!= (const iterator &it) const
bool operator< (const iterator &it) const
bool operator<= (const iterator &it) const
bool operator> (const iterator &it) const
bool operator>= (const iterator &it) const
iteratoroperator+= (const difference_type n)
iteratoroperator-= (const difference_type n)

Public Attributes

this_typebase_
label index_

Detailed Description

template<class V>
struct Foam::Expression::ListsRefWrap< V >::iterator

Definition at line 2784 of file ListExpression.H.

Member Typedef Documentation

◆ iterator_category

template<class V>
using iterator_category = std::random_access_iterator_tag

Definition at line 2786 of file ListExpression.H.

◆ difference_type

template<class V>
using difference_type = this_type::difference_type

Definition at line 2787 of file ListExpression.H.

◆ value_type

template<class V>
using value_type = this_type::value_type

Definition at line 2788 of file ListExpression.H.

◆ pointer

template<class V>
using pointer = this_type::pointer

Definition at line 2789 of file ListExpression.H.

◆ reference

template<class V>
using reference = this_type::reference

Definition at line 2790 of file ListExpression.H.

Constructor & Destructor Documentation

◆ iterator() [1/3]

template<class V>
iterator ( this_type & base,
const label index )
inline

◆ iterator() [2/3]

template<class V>
iterator ( const iterator & it)
default

References iterator().

Here is the call graph for this function:

◆ iterator() [3/3]

template<class V>
iterator ( )
delete

Referenced by operator+(), and operator-().

Here is the caller graph for this function:

Member Function Documentation

◆ operator=()

template<class V>
iterator & operator= ( const iterator & it)
inline

Definition at line 2802 of file ListExpression.H.

References base_, index_, and iterator().

Here is the call graph for this function:

◆ operator*() [1/2]

template<class V>
value_type & operator* ( )
inline

Definition at line 2811 of file ListExpression.H.

References base_, and index_.

◆ operator*() [2/2]

template<class V>
value_type operator* ( ) const
inline

Definition at line 2815 of file ListExpression.H.

References base_, and index_.

◆ operator->() [1/2]

template<class V>
value_type operator-> ( ) const
inline

Definition at line 2819 of file ListExpression.H.

References base_, and index_.

◆ operator->() [2/2]

template<class V>
value_type & operator-> ( )
inline

Definition at line 2823 of file ListExpression.H.

References base_, and index_.

◆ operator[]() [1/2]

template<class V>
value_type operator[] ( const difference_type i) const
inline

Definition at line 2827 of file ListExpression.H.

References base_, and index_.

◆ operator[]() [2/2]

template<class V>
value_type & operator[] ( const difference_type i)
inline

Definition at line 2831 of file ListExpression.H.

References base_, and index_.

◆ operator++() [1/2]

template<class V>
iterator & operator++ ( )
inline

Definition at line 2838 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator++() [2/2]

template<class V>
iterator operator++ ( int )
inline

Definition at line 2843 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator--() [1/2]

template<class V>
iterator & operator-- ( )
inline

Definition at line 2849 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator--() [2/2]

template<class V>
iterator operator-- ( int )
inline

Definition at line 2854 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator+()

template<class V>
iterator operator+ ( const difference_type i) const
inline

Definition at line 2863 of file ListExpression.H.

References base_, index_, iterator(), and iterator().

Here is the call graph for this function:

◆ operator-() [1/2]

template<class V>
iterator operator- ( const difference_type i) const
inline

Definition at line 2867 of file ListExpression.H.

References base_, index_, iterator(), and iterator().

Here is the call graph for this function:

◆ operator-() [2/2]

template<class V>
difference_type operator- ( const iterator & it) const
inline

Definition at line 2871 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator==()

template<class V>
bool operator== ( const iterator & it) const
inline

Definition at line 2878 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator!=()

template<class V>
bool operator!= ( const iterator & it) const
inline

Definition at line 2882 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator<()

template<class V>
bool operator< ( const iterator & it) const
inline

Definition at line 2886 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator<=()

template<class V>
bool operator<= ( const iterator & it) const
inline

Definition at line 2890 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator>()

template<class V>
bool operator> ( const iterator & it) const
inline

Definition at line 2894 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator>=()

template<class V>
bool operator>= ( const iterator & it) const
inline

Definition at line 2898 of file ListExpression.H.

References index_, and iterator().

Here is the call graph for this function:

◆ operator+=()

template<class V>
iterator & operator+= ( const difference_type n)
inline

Definition at line 2905 of file ListExpression.H.

References index_, iterator(), and n.

Here is the call graph for this function:

◆ operator-=()

template<class V>
iterator & operator-= ( const difference_type n)
inline

Definition at line 2910 of file ListExpression.H.

References index_, iterator(), and n.

Here is the call graph for this function:

Member Data Documentation

◆ base_

◆ index_


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