Loading...
Searching...
No Matches
UniformListWrap2< 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 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

const T val_

Detailed Description

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

Definition at line 2169 of file ListExpression.H.

Member Typedef Documentation

◆ difference_type

template<class T>
using difference_type = label

Definition at line 2172 of file ListExpression.H.

◆ value_type

template<class T>
using value_type = const T

Definition at line 2173 of file ListExpression.H.

◆ pointer

template<class T>
using pointer = const T*

Definition at line 2174 of file ListExpression.H.

◆ reference

template<class T>
using reference = const T&

Definition at line 2175 of file ListExpression.H.

◆ iterator_category

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

Definition at line 2176 of file ListExpression.H.

Constructor & Destructor Documentation

◆ const_iterator()

template<class T>
const_iterator ( const T val)
inline

Definition at line 2180 of file ListExpression.H.

References 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 2184 of file ListExpression.H.

References val_.

◆ operator[]()

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

Definition at line 2188 of file ListExpression.H.

References val_.

◆ operator++() [1/2]

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

Definition at line 2192 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 2196 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator--() [1/2]

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

Definition at line 2201 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 2205 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator+()

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

Definition at line 2210 of file ListExpression.H.

References const_iterator(), 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 2214 of file ListExpression.H.

References const_iterator(), 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 2218 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator==()

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

Definition at line 2222 of file ListExpression.H.

References const_iterator(), 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 2226 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 2230 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator<=()

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

Definition at line 2234 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator>()

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

Definition at line 2238 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator>=()

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

Definition at line 2242 of file ListExpression.H.

References const_iterator().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 2246 of file ListExpression.H.

References const_iterator(), 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 2250 of file ListExpression.H.

References const_iterator(), and n.

Here is the call graph for this function:

Member Data Documentation

◆ val_

template<class T>
const T val_

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