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

#include <ListExpression.H>

Collaboration diagram for ListsConstRefWrap< 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 ()=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::ListsConstRefWrap< V >::const_iterator

Definition at line 2361 of file ListExpression.H.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 2363 of file ListExpression.H.

◆ difference_type

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

Definition at line 2364 of file ListExpression.H.

◆ value_type

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

Definition at line 2365 of file ListExpression.H.

◆ pointer

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

Definition at line 2366 of file ListExpression.H.

◆ reference

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

Definition at line 2367 of file ListExpression.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

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

◆ const_iterator() [2/3]

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

Definition at line 2377 of file ListExpression.H.

References base_, const_iterator(), and index_.

Here is the call graph for this function:

◆ const_iterator() [3/3]

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

References base_, and index_.

◆ operator[]()

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

Definition at line 2395 of file ListExpression.H.

References base_, and index_.

◆ operator++() [1/2]

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

Definition at line 2402 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 2407 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 2413 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 2418 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 2427 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 2431 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 2435 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 2442 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 2446 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 2450 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 2454 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 2458 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 2462 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 2469 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 2474 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: