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

#include <ListExpression.H>

Collaboration diagram for ListConstRefWrap< T >::const_iterator:

Public Types

typedef UList< T >::const_iterator ConstIter
typedef std::iterator_traits< ConstIterConstIterTraits
using difference_type = typename ConstIterTraits::difference_type
using value_type = typename ConstIterTraits::value_type
using pointer = typename ConstIterTraits::pointer
using reference = typename ConstIterTraits::reference
using iterator_category = std::random_access_iterator_tag

Public Member Functions

 const_iterator (ConstIter it)
 const_iterator ()
ConstIteroperator= (ConstIter it)
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

ConstIter base_

Detailed Description

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

Definition at line 398 of file ListExpression.H.

Member Typedef Documentation

◆ ConstIter

template<class T>
typedef UList<T>::const_iterator ConstIter

Definition at line 401 of file ListExpression.H.

◆ ConstIterTraits

template<class T>
typedef std::iterator_traits<ConstIter> ConstIterTraits

Definition at line 402 of file ListExpression.H.

◆ difference_type

template<class T>
using difference_type = typename ConstIterTraits::difference_type

Definition at line 403 of file ListExpression.H.

◆ value_type

template<class T>
using value_type = typename ConstIterTraits::value_type

Definition at line 404 of file ListExpression.H.

◆ pointer

template<class T>
using pointer = typename ConstIterTraits::pointer

Definition at line 405 of file ListExpression.H.

◆ reference

template<class T>
using reference = typename ConstIterTraits::reference

Definition at line 406 of file ListExpression.H.

◆ iterator_category

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

Definition at line 408 of file ListExpression.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

template<class T>
const_iterator ( ConstIter it)
inline

Definition at line 412 of file ListExpression.H.

References base_.

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:

◆ const_iterator() [2/2]

template<class T>
const_iterator ( )
inline

Definition at line 413 of file ListExpression.H.

References base_.

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

Here is the caller graph for this function:

Member Function Documentation

◆ operator=()

template<class T>
ConstIter & operator= ( ConstIter it)
inline

Definition at line 414 of file ListExpression.H.

References base_.

◆ operator*()

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

Definition at line 422 of file ListExpression.H.

References base_.

◆ operator[]()

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

Definition at line 430 of file ListExpression.H.

References base_.

◆ operator++() [1/2]

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

Definition at line 437 of file ListExpression.H.

References base_, and const_iterator().

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 442 of file ListExpression.H.

References base_, and const_iterator().

Here is the call graph for this function:

◆ operator--() [1/2]

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

Definition at line 448 of file ListExpression.H.

References base_, and const_iterator().

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 453 of file ListExpression.H.

References base_, and 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 462 of file ListExpression.H.

References base_, const_iterator(), and const_iterator().

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

References base_, const_iterator(), and const_iterator().

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

References base_, and 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 477 of file ListExpression.H.

References base_, and 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 481 of file ListExpression.H.

References base_, and 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 485 of file ListExpression.H.

References base_, and 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 489 of file ListExpression.H.

References base_, and 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 493 of file ListExpression.H.

References base_, and 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 497 of file ListExpression.H.

References base_, and 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 504 of file ListExpression.H.

References base_, 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 509 of file ListExpression.H.

References base_, const_iterator(), and n.

Here is the call graph for this function:

Member Data Documentation

◆ base_


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