Loading...
Searching...
No Matches
UniformListWrap< T >::const_iterator Struct Reference

#include <ListExpression.H>

Public Types

using difference_type = label
using value_type = const T
using pointer = const T*
using reference = const T&
using iterator_category = std::random_access_iterator_tag

Public Member Functions

 const_iterator (const difference_type count, const T val)
value_type 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

difference_type count_
const T val_

Detailed Description

template<class T>
struct Foam::Expression::UniformListWrap< T >::const_iterator

Definition at line 2022 of file ListExpression.H.

Member Typedef Documentation

◆ difference_type

template<class T>
using difference_type = label

Definition at line 2025 of file ListExpression.H.

◆ value_type

template<class T>
using value_type = const T

Definition at line 2026 of file ListExpression.H.

◆ pointer

template<class T>
using pointer = const T*

Definition at line 2027 of file ListExpression.H.

◆ reference

template<class T>
using reference = const T&

Definition at line 2028 of file ListExpression.H.

◆ iterator_category

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

Definition at line 2029 of file ListExpression.H.

Constructor & Destructor Documentation

◆ const_iterator()

template<class T>
const_iterator ( const difference_type count,
const T val )
inline

Definition at line 2035 of file ListExpression.H.

References count_, Foam::T(), and val_.

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

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ operator*()

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

Definition at line 2040 of file ListExpression.H.

References val_.

◆ operator[]()

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

Definition at line 2044 of file ListExpression.H.

References val_.

◆ operator++() [1/2]

template<class T>
const_iterator & operator++ ( )
inline

Definition at line 2048 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator++() [2/2]

template<class T>
const_iterator operator++ ( int )
inline

Definition at line 2053 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator--() [1/2]

template<class T>
const_iterator & operator-- ( )
inline

Definition at line 2059 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator--() [2/2]

template<class T>
const_iterator operator-- ( int )
inline

Definition at line 2064 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator+()

template<class T>
const_iterator operator+ ( const difference_type i) const
inline

Definition at line 2070 of file ListExpression.H.

References const_iterator(), count_, and val_.

Here is the call graph for this function:

◆ operator-() [1/2]

template<class T>
const_iterator operator- ( const difference_type i) const
inline

Definition at line 2074 of file ListExpression.H.

References const_iterator(), count_, and val_.

Here is the call graph for this function:

◆ operator-() [2/2]

template<class T>
difference_type operator- ( const const_iterator & it) const
inline

Definition at line 2078 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator==()

template<class T>
bool operator== ( const const_iterator & it) const
inline

Definition at line 2082 of file ListExpression.H.

References const_iterator(), count_, and val_.

Referenced by operator!=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

template<class T>
bool operator!= ( const const_iterator & it) const
inline

Definition at line 2086 of file ListExpression.H.

References const_iterator(), and operator==().

Here is the call graph for this function:

◆ operator<()

template<class T>
bool operator< ( const const_iterator & it) const
inline

Definition at line 2090 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator<=()

template<class T>
bool operator<= ( const const_iterator & it) const
inline

Definition at line 2094 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator>()

template<class T>
bool operator> ( const const_iterator & it) const
inline

Definition at line 2098 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator>=()

template<class T>
bool operator>= ( const const_iterator & it) const
inline

Definition at line 2102 of file ListExpression.H.

References const_iterator(), and count_.

Here is the call graph for this function:

◆ operator+=()

template<class T>
const_iterator & operator+= ( const difference_type n)
inline

Definition at line 2106 of file ListExpression.H.

References const_iterator(), count_, and n.

Here is the call graph for this function:

◆ operator-=()

template<class T>
const_iterator & operator-= ( const difference_type n)
inline

Definition at line 2111 of file ListExpression.H.

References const_iterator(), count_, and n.

Here is the call graph for this function:

Member Data Documentation

◆ count_

◆ val_

template<class T>
const T val_

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