A value indexer, for iteration or generation. More...

Public Types | |
| typedef label | value_type |
| typedef label | difference_type |
| typedef const label * | pointer |
| typedef label | reference |
Public Member Functions | |
| constexpr | indexer () noexcept |
| Default construct with zero value and stride = 1. More... | |
| constexpr | indexer (const label val, const label stride) noexcept |
| Construct with specified value and stride. More... | |
| constexpr label | value () const noexcept |
| The current value. More... | |
| constexpr label | stride () const noexcept |
| The stride. More... | |
| constexpr label | value (const label n) const noexcept |
| Value with offset. More... | |
| void | prev () noexcept |
| Decrement value. More... | |
| void | prev (const label n) noexcept |
| Decrease value. More... | |
| void | next () noexcept |
| Increment value. More... | |
| void | next (const label n) noexcept |
| Increase value. More... | |
| constexpr label | operator* () const noexcept |
| Return the value. More... | |
| label | operator() () noexcept |
| Apply a postfix increment and return the current value. More... | |
A value indexer, for iteration or generation.
Definition at line 267 of file sliceRange.H.
| typedef label value_type |
Definition at line 282 of file sliceRange.H.
| typedef label difference_type |
Definition at line 283 of file sliceRange.H.
| typedef const label* pointer |
Definition at line 284 of file sliceRange.H.
| typedef label reference |
Definition at line 285 of file sliceRange.H.
|
inlinenoexcept |
Default construct with zero value and stride = 1.
Definition at line 46 of file sliceRangeI.H.
|
inlinenoexcept |
Construct with specified value and stride.
Definition at line 54 of file sliceRangeI.H.
|
inlinenoexcept |
The current value.
Definition at line 310 of file sliceRange.H.
|
inlinenoexcept |
The stride.
Definition at line 315 of file sliceRange.H.
|
inlinenoexcept |
|
inlinenoexcept |
Decrement value.
Definition at line 328 of file sliceRange.H.
|
inlinenoexcept |
|
inlinenoexcept |
Increment value.
Definition at line 338 of file sliceRange.H.
|
inlinenoexcept |
|
inlinenoexcept |
Return the value.
Definition at line 351 of file sliceRange.H.
|
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.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.