Loading...
Searching...
No Matches
IndirectConstWrap< E1 >::const_iterator Struct Reference

#include <ListExpression.H>

Public Types

using difference_type = label
 Step type for addressing.
typedef E1::const_iterator ConstIter
 Iterator definition for E1.
using value_type = typename ConstIter::value_type
using pointer = typename ConstIter::pointer
using reference = typename ConstIter::reference
using iterator_category = std::random_access_iterator_tag

Public Member Functions

 const_iterator (ConstIter begin, typename labelUList::const_iterator addrIter)
auto operator* () const
value_type operator[] (const difference_type i) const
const_iteratoroperator++ ()
const_iterator operator++ (int)
const_iteratoroperator-- ()
const_iterator operator-- (int)
const_iterator operator+ (const difference_type i) const
const_iterator operator- (const difference_type i) const
difference_type operator- (const const_iterator &it) const
bool operator== (const const_iterator &it) const
bool operator!= (const const_iterator &it) const
bool operator< (const const_iterator &it) const
bool operator<= (const const_iterator &it) const
bool operator> (const const_iterator &it) const
bool operator>= (const const_iterator &it) const
const_iteratoroperator+= (const difference_type n)
const_iteratoroperator-= (const difference_type n)

Public Attributes

ConstIter begin_
labelUList::const_iterator iter_

Detailed Description

template<typename E1>
struct Foam::Expression::IndirectConstWrap< E1 >::const_iterator

Definition at line 831 of file ListExpression.H.

Member Typedef Documentation

◆ difference_type

template<typename E1>
using difference_type = label

Step type for addressing.

Definition at line 838 of file ListExpression.H.

◆ ConstIter

template<typename E1>
typedef E1::const_iterator ConstIter

Iterator definition for E1.

Definition at line 843 of file ListExpression.H.

◆ value_type

template<typename E1>
using value_type = typename ConstIter::value_type

Definition at line 845 of file ListExpression.H.

◆ pointer

template<typename E1>
using pointer = typename ConstIter::pointer

Definition at line 846 of file ListExpression.H.

◆ reference

template<typename E1>
using reference = typename ConstIter::reference

Definition at line 847 of file ListExpression.H.

◆ iterator_category

template<typename E1>
using iterator_category = std::random_access_iterator_tag

Definition at line 848 of file ListExpression.H.

Constructor & Destructor Documentation

◆ const_iterator()

template<typename E1>
const_iterator ( ConstIter begin,
typename labelUList::const_iterator addrIter )
inline

Definition at line 853 of file ListExpression.H.

References begin_, and iter_.

Referenced by operator!=(), operator+(), operator++(), operator++(), operator+=(), operator-(), operator-(), operator--(), operator--(), operator-=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().

Here is the caller graph for this function:

Member Function Documentation

◆ operator*()

template<typename E1>
auto operator* ( ) const
inline

Definition at line 862 of file ListExpression.H.

References begin_, and iter_.

◆ operator[]()

template<typename E1>
value_type operator[] ( const difference_type i) const
inline

Definition at line 866 of file ListExpression.H.

References begin_, and iter_.

◆ operator++() [1/2]

template<typename E1>
const_iterator & operator++ ( )
inline

Definition at line 870 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator++() [2/2]

template<typename E1>
const_iterator operator++ ( int )
inline

Definition at line 875 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator--() [1/2]

template<typename E1>
const_iterator & operator-- ( )
inline

Definition at line 881 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator--() [2/2]

template<typename E1>
const_iterator operator-- ( int )
inline

Definition at line 886 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator+()

template<typename E1>
const_iterator operator+ ( const difference_type i) const
inline

Definition at line 892 of file ListExpression.H.

References begin_, const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator-() [1/2]

template<typename E1>
const_iterator operator- ( const difference_type i) const
inline

Definition at line 896 of file ListExpression.H.

References begin_, const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator-() [2/2]

template<typename E1>
difference_type operator- ( const const_iterator & it) const
inline

Definition at line 900 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator==()

template<typename E1>
bool operator== ( const const_iterator & it) const
inline

Definition at line 904 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator!=()

template<typename E1>
bool operator!= ( const const_iterator & it) const
inline

Definition at line 908 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator<()

template<typename E1>
bool operator< ( const const_iterator & it) const
inline

Definition at line 912 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator<=()

template<typename E1>
bool operator<= ( const const_iterator & it) const
inline

Definition at line 916 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator>()

template<typename E1>
bool operator> ( const const_iterator & it) const
inline

Definition at line 920 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator>=()

template<typename E1>
bool operator>= ( const const_iterator & it) const
inline

Definition at line 924 of file ListExpression.H.

References const_iterator(), and iter_.

Here is the call graph for this function:

◆ operator+=()

template<typename E1>
const_iterator & operator+= ( const difference_type n)
inline

Definition at line 928 of file ListExpression.H.

References const_iterator(), iter_, and n.

Here is the call graph for this function:

◆ operator-=()

template<typename E1>
const_iterator & operator-= ( const difference_type n)
inline

Definition at line 933 of file ListExpression.H.

References const_iterator(), iter_, and n.

Here is the call graph for this function:

Member Data Documentation

◆ begin_

template<typename E1>
ConstIter begin_

Definition at line 850 of file ListExpression.H.

Referenced by const_iterator(), operator*(), operator+(), operator-(), and operator[]().

◆ iter_


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