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

#include <ListExpression.H>

Collaboration diagram for ListsRefWrap< V >::const_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::const_pointer
using reference = this_type::const_reference

Public Member Functions

 const_iterator (const this_type &base, const label index)
 const_iterator (const const_iterator &it)
 const_iterator (const_iterator &it)
 const_iterator ()=delete
const_iteratoroperator= (const_iterator &it)=default
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 this_typebase_
label index_

Detailed Description

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

Definition at line 2651 of file ListExpression.H.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 2653 of file ListExpression.H.

◆ difference_type

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

Definition at line 2654 of file ListExpression.H.

◆ value_type

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

Definition at line 2655 of file ListExpression.H.

◆ pointer

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

Definition at line 2656 of file ListExpression.H.

◆ reference

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

Definition at line 2657 of file ListExpression.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/4]

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

◆ const_iterator() [2/4]

template<class V>
const_iterator ( const const_iterator & it)
inline

Definition at line 2667 of file ListExpression.H.

References base_, const_iterator(), and index_.

Here is the call graph for this function:

◆ const_iterator() [3/4]

template<class V>
const_iterator ( const_iterator & it)
inline

Definition at line 2672 of file ListExpression.H.

References base_, const_iterator(), and index_.

Here is the call graph for this function:

◆ const_iterator() [4/4]

template<class V>
const_iterator ( )
delete

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

Here is the caller graph for this function:

Member Function Documentation

◆ operator=()

template<class V>
const_iterator & operator= ( const_iterator & it)
default

References const_iterator().

Here is the call graph for this function:

◆ operator*()

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

Definition at line 2682 of file ListExpression.H.

References base_, and index_.

◆ operator[]()

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

Definition at line 2690 of file ListExpression.H.

References base_, and index_.

◆ operator++() [1/2]

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

Definition at line 2697 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 2702 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator--() [1/2]

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

Definition at line 2708 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 2713 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator+()

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

Definition at line 2722 of file ListExpression.H.

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

Here is the call graph for this function:

◆ operator-() [1/2]

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

Definition at line 2726 of file ListExpression.H.

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

Here is the call graph for this function:

◆ operator-() [2/2]

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

Definition at line 2730 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator==()

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

Definition at line 2737 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator!=()

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

Definition at line 2741 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator<()

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

Definition at line 2745 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator<=()

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

Definition at line 2749 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator>()

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

Definition at line 2753 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator>=()

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

Definition at line 2757 of file ListExpression.H.

References const_iterator(), and index_.

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 2764 of file ListExpression.H.

References const_iterator(), index_, and n.

Here is the call graph for this function:

◆ operator-=()

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

Definition at line 2769 of file ListExpression.H.

References const_iterator(), index_, and n.

Here is the call graph for this function:

Member Data Documentation

◆ base_

template<class V>
const this_type& base_

◆ index_


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