An interval of (signed) integers defined by a start and a size. More...
Classes | |
class | const_iterator |
class | const_reverse_iterator |
Public Types | |
typedef IntType | value_type |
typedef IntType | size_type |
Public Member Functions | |
constexpr | IntRange () noexcept |
constexpr | IntRange (const IntType len) noexcept |
constexpr | IntRange (const IntType beg, const IntType len) noexcept |
IntType | start () const noexcept |
IntType | size () const noexcept |
IntType & | start () noexcept |
IntType & | size () noexcept |
bool | empty () const noexcept |
IntType | first () const noexcept |
IntType | last () const noexcept |
void | clear () noexcept |
void | reset (const IntType beg, const IntType len) noexcept |
void | setStart (const IntType i) noexcept |
void | setSize (const IntType n) noexcept |
void | resize (const IntType n) noexcept |
void | clampSize () noexcept |
bool | found (const IntType value) const noexcept |
constexpr IntType | operator[] (const IntType i) const noexcept |
bool | operator() (const IntType value) const noexcept |
IntType | operator++ () noexcept |
IntType | operator++ (int) noexcept |
IntType | operator+= (const IntType n) noexcept |
IntType | operator-- () noexcept |
IntType | operator-- (int) noexcept |
IntType | operator-= (const IntType n) noexcept |
operator bool () const noexcept | |
const_iterator | at (const IntType i) const |
const_iterator | begin () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
const_iterator | end () const noexcept |
const_reverse_iterator | rbegin () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crend () const noexcept |
Protected Member Functions | |
IntType | rend_value () const noexcept |
IntType | end_value () const noexcept |
An interval of (signed) integers defined by a start and a size.
Definition at line 59 of file IntRange.H.
typedef IntType value_type |
Definition at line 90 of file IntRange.H.
typedef IntType size_type |
Definition at line 93 of file IntRange.H.
|
inlineconstexprnoexcept |
Definition at line 24 of file IntRangeI.H.
|
inlineexplicitconstexprnoexcept |
Definition at line 33 of file IntRangeI.H.
|
inlineconstexprnoexcept |
Definition at line 44 of file IntRangeI.H.
|
inlineprotectednoexcept |
Definition at line 450 of file IntRangeI.H.
Referenced by labelRange::before().
|
inlineprotectednoexcept |
Definition at line 457 of file IntRangeI.H.
Referenced by labelRange::after().
|
inlinenoexcept |
Definition at line 401 of file IntRangeI.H.
Referenced by ensightFaces::classify(), Foam::BitOps::set(), bitSet::set(), and bitSet::unset().
|
inlinenoexcept |
Definition at line 408 of file IntRangeI.H.
Referenced by Foam::operator<(), and Foam::operator==().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 429 of file IntRangeI.H.
Referenced by Foam::BitOps::set(), bitSet::set(), ensightFaces::sort(), ensightCells::sort(), and bitSet::unset().
|
inlinenoexcept |
Definition at line 436 of file IntRangeI.H.
Referenced by Foam::operator<(), Foam::operator==(), labelRanges::remove(), Foam::BitOps::set(), bitSet::set(), and bitSet::unset().
|
inlinenoexcept |
Definition at line 443 of file IntRangeI.H.
Referenced by labelRanges::remove(), and Foam::BitOps::set().
|
inlinenoexcept |
Definition at line 464 of file IntRangeI.H.
Referenced by labelRanges::add().
|
inlinenoexcept |
Definition at line 472 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 483 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 490 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 497 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 504 of file IntRangeI.H.
Referenced by labelRange::join(), IntRange< label >::operator--(), IntRange< label >::operator-=(), and labelRanges::remove().
|
inlinenoexcept |
Definition at line 511 of file IntRangeI.H.
Referenced by IntRange< label >::operator()().
|
inlineconstexprnoexcept |
Definition at line 524 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 532 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 540 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 548 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 577 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 556 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 566 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 586 of file IntRangeI.H.
|
inlineexplicitnoexcept |
Definition at line 198 of file IntRange.H.
|
inline |
Definition at line 328 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 336 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 344 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 360 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 352 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 368 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 376 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 384 of file IntRangeI.H.
|
inlinenoexcept |
Definition at line 392 of file IntRangeI.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.