Public Types | Public Member Functions | List of all members
sliceRange::const_iterator Class Reference
Inheritance diagram for sliceRange::const_iterator:
Inheritance graph
[legend]
Collaboration diagram for sliceRange::const_iterator:
Collaboration graph
[legend]

Public Types

typedef std::random_access_iterator_tag iterator_category
 
- Public Types inherited from sliceRange::indexer
typedef label value_type
 
typedef label difference_type
 
typedef label reference
 

Public Member Functions

constexpr label operator[] (const label n) const noexcept
 
const_iteratoroperator++ () noexcept
 
const_iterator operator++ (int) noexcept
 
const_iteratoroperator-- () noexcept
 
const_iterator operator-- (int) noexcept
 
const_iteratoroperator+= (const label n) noexcept
 
const_iteratoroperator-= (const label n) noexcept
 
constexpr const_iterator operator+ (const label n) const noexcept
 
constexpr const_iterator operator- (const label n) const noexcept
 
constexpr label operator- (const const_iterator &iter) const noexcept
 
constexpr bool operator== (const const_iterator &iter) const noexcept
 
constexpr bool operator< (const const_iterator &iter) const noexcept
 
constexpr bool operator!= (const const_iterator &iter) const noexcept
 
constexpr bool operator<= (const const_iterator &iter) const noexcept
 
constexpr bool operator> (const const_iterator &iter) const noexcept
 
constexpr bool operator>= (const const_iterator &iter) const noexcept
 
constexpr indexer () noexcept
 
constexpr indexer (const label val, const label stride) noexcept
 
- Public Member Functions inherited from sliceRange::indexer
constexpr indexer () noexcept
 
constexpr indexer (const label val, const label stride) noexcept
 
constexpr label value () const noexcept
 
constexpr label stride () const noexcept
 
constexpr label value (const label n) const noexcept
 
void prev () noexcept
 
void prev (const label n) noexcept
 
void next () noexcept
 
void next (const label n) noexcept
 
constexpr label operator* () const noexcept
 
label operator() () noexcept
 

Additional Inherited Members

- Public Attributes inherited from sliceRange::indexer
const typedef label * pointer
 

Detailed Description

Definition at line 274 of file sliceRange.H.

Member Typedef Documentation

◆ iterator_category

typedef std::random_access_iterator_tag iterator_category

Definition at line 281 of file sliceRange.H.

Member Function Documentation

◆ operator[]()

constexpr Foam::label operator[] ( const label  n) const
inlineconstexprnoexcept

Definition at line 80 of file sliceRangeI.H.

References n.

◆ operator++() [1/2]

Foam::sliceRange::const_iterator & operator++ ( )
inlinenoexcept

Definition at line 88 of file sliceRangeI.H.

◆ operator++() [2/2]

Foam::sliceRange::const_iterator operator++ ( int  )
inlinenoexcept

Definition at line 97 of file sliceRangeI.H.

◆ operator--() [1/2]

Foam::sliceRange::const_iterator & operator-- ( )
inlinenoexcept

Definition at line 107 of file sliceRangeI.H.

◆ operator--() [2/2]

Foam::sliceRange::const_iterator operator-- ( int  )
inlinenoexcept

Definition at line 116 of file sliceRangeI.H.

◆ operator+=()

Foam::sliceRange::const_iterator & operator+= ( const label  n)
inlinenoexcept

Definition at line 126 of file sliceRangeI.H.

References n.

◆ operator-=()

Foam::sliceRange::const_iterator & operator-= ( const label  n)
inlinenoexcept

Definition at line 135 of file sliceRangeI.H.

References n.

◆ operator+()

constexpr Foam::sliceRange::const_iterator operator+ ( const label  n) const
inlineconstexprnoexcept

Definition at line 144 of file sliceRangeI.H.

References n.

◆ operator-() [1/2]

constexpr Foam::sliceRange::const_iterator operator- ( const label  n) const
inlineconstexprnoexcept

Definition at line 152 of file sliceRangeI.H.

References n.

◆ operator-() [2/2]

constexpr Foam::label operator- ( const const_iterator iter) const
inlineconstexprnoexcept

Definition at line 160 of file sliceRangeI.H.

◆ operator==()

constexpr bool operator== ( const const_iterator iter) const
inlineconstexprnoexcept

Definition at line 168 of file sliceRangeI.H.

◆ operator<()

constexpr bool operator< ( const const_iterator iter) const
inlineconstexprnoexcept

Definition at line 176 of file sliceRangeI.H.

◆ operator!=()

constexpr bool operator!= ( const const_iterator iter) const
inlineconstexprnoexcept

Definition at line 345 of file sliceRange.H.

◆ operator<=()

constexpr bool operator<= ( const const_iterator iter) const
inlineconstexprnoexcept

Definition at line 351 of file sliceRange.H.

◆ operator>()

constexpr bool operator> ( const const_iterator iter) const
inlineconstexprnoexcept

Definition at line 357 of file sliceRange.H.

◆ operator>=()

constexpr bool operator>= ( const const_iterator iter) const
inlineconstexprnoexcept

Definition at line 363 of file sliceRange.H.

◆ indexer() [1/2]

constexpr indexer
inlineconstexprnoexcept

Definition at line 48 of file sliceRangeI.H.

◆ indexer() [2/2]

constexpr indexer
inlineconstexprnoexcept

Definition at line 56 of file sliceRangeI.H.


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