A value indexer, for iteration or generation.
More...
A value indexer, for iteration or generation.
Definition at line 271 of file sliceRange.H.
◆ value_type
◆ difference_type
◆ pointer
◆ reference
◆ indexer() [1/2]
Default construct with zero value and stride = 1.
Definition at line 46 of file sliceRangeI.H.
◆ indexer() [2/2]
constexpr indexer |
( |
const label |
val, |
|
|
const label |
stride |
|
) |
| |
|
inlinenoexcept |
Construct with specified value and stride.
Definition at line 54 of file sliceRangeI.H.
◆ value() [1/2]
constexpr label value |
( |
| ) |
const |
|
inlinenoexcept |
◆ stride()
constexpr label stride |
( |
| ) |
const |
|
inlinenoexcept |
◆ value() [2/2]
constexpr label value |
( |
const label |
n | ) |
const |
|
inlinenoexcept |
◆ prev() [1/2]
◆ prev() [2/2]
void prev |
( |
const label |
n | ) |
|
|
inlinenoexcept |
◆ next() [1/2]
◆ next() [2/2]
void next |
( |
const label |
n | ) |
|
|
inlinenoexcept |
◆ operator*()
constexpr label operator* |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator()()
Foam::label operator() |
( |
| ) |
|
|
inlinenoexcept |
Apply a postfix increment and return the current value.
This operator definition is required for a generator - see std::generate()
Definition at line 66 of file sliceRangeI.H.
The documentation for this class was generated from the following files: