Public Types | Public Member Functions | List of all members
UPtrList::const_iterator Class Reference

Public Types

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

Public Member Functions

 const_iterator (const T *const *ptr) noexcept
 
 const_iterator (const iterator &iter) noexcept
 
pointer get () const
 
pointer operator-> () const
 
reference operator* () const
 
reference operator() () const
 
reference operator[] (difference_type n) const
 
const_iteratoroperator++ () noexcept
 
const_iterator operator++ (int) noexcept
 
const_iteratoroperator-- () noexcept
 
const_iterator operator-- (int) noexcept
 
const_iteratoroperator+= (difference_type n) noexcept
 
const_iteratoroperator-= (difference_type n) noexcept
 
const_iterator operator+ (difference_type n) const noexcept
 
const_iterator operator- (difference_type n) const noexcept
 
difference_type operator- (const const_iterator &iter) const noexcept
 
bool operator== (const const_iterator &iter) const noexcept
 
bool operator!= (const const_iterator &iter) const noexcept
 
bool operator< (const const_iterator &iter) const noexcept
 
bool operator> (const const_iterator &iter) const noexcept
 
bool operator<= (const const_iterator &iter) const noexcept
 
bool operator>= (const const_iterator &iter) const noexcept
 

Detailed Description

Definition at line 295 of file UPtrList.H.

Member Typedef Documentation

◆ iterator_category

using iterator_category = std::random_access_iterator_tag

Definition at line 302 of file UPtrList.H.

◆ value_type

using value_type = const T

Definition at line 303 of file UPtrList.H.

◆ difference_type

using difference_type = label

Definition at line 304 of file UPtrList.H.

◆ pointer

using pointer = const T*

Definition at line 305 of file UPtrList.H.

◆ reference

using reference = const T&

Definition at line 306 of file UPtrList.H.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

const_iterator ( const T *const *  ptr)
inlinenoexcept

◆ const_iterator() [2/2]

const_iterator ( const iterator iter)
inlinenoexcept

Member Function Documentation

◆ get()

const T * get ( ) const
inline

Definition at line 432 of file UPtrListI.H.

◆ operator->()

const T * operator-> ( ) const
inline

Definition at line 439 of file UPtrListI.H.

◆ operator*()

const T & operator* ( ) const
inline

Definition at line 446 of file UPtrListI.H.

◆ operator()()

reference operator() ( ) const
inline

Definition at line 324 of file UPtrList.H.

References UPtrList::iterator::operator*().

Here is the call graph for this function:

◆ operator[]()

const T & operator[] ( difference_type  n) const
inline

Definition at line 454 of file UPtrListI.H.

References n.

◆ operator++() [1/2]

const_iterator& operator++ ( )
inlinenoexcept

◆ operator++() [2/2]

const_iterator operator++ ( int  )
inlinenoexcept

◆ operator--() [1/2]

const_iterator& operator-- ( )
inlinenoexcept

◆ operator--() [2/2]

const_iterator operator-- ( int  )
inlinenoexcept

◆ operator+=()

Foam::UPtrList< T >::const_iterator & operator+= ( difference_type  n)
inlinenoexcept

Definition at line 500 of file UPtrListI.H.

References n.

◆ operator-=()

Foam::UPtrList< T >::const_iterator & operator-= ( difference_type  n)
inlinenoexcept

Definition at line 509 of file UPtrListI.H.

References n.

◆ operator+()

Foam::UPtrList< T >::const_iterator operator+ ( difference_type  n) const
inlinenoexcept

Definition at line 518 of file UPtrListI.H.

References n.

◆ operator-() [1/2]

const_iterator operator- ( difference_type  n) const
inlinenoexcept

◆ operator-() [2/2]

difference_type operator- ( const const_iterator iter) const
inlinenoexcept

◆ operator==()

bool operator== ( const const_iterator iter) const
inlinenoexcept

Definition at line 543 of file UPtrListI.H.

◆ operator!=()

bool operator!= ( const const_iterator iter) const
inlinenoexcept

Definition at line 551 of file UPtrListI.H.

◆ operator<()

bool operator< ( const const_iterator iter) const
inlinenoexcept

Definition at line 559 of file UPtrListI.H.

◆ operator>()

bool operator> ( const const_iterator iter) const
inlinenoexcept

Definition at line 567 of file UPtrListI.H.

◆ operator<=()

bool operator<= ( const const_iterator iter) const
inlinenoexcept

Definition at line 575 of file UPtrListI.H.

◆ operator>=()

bool operator>= ( const const_iterator iter) const
inlinenoexcept

Definition at line 583 of file UPtrListI.H.


The documentation for this class was generated from the following files: