A tuple of scalar value and key. The value often corresponds to a time value, thus the naming of the class. The key will usually be a time name or a file name etc. More...

Classes | |
| struct | less |
| Less function for sorting. More... | |
Public Member Functions | |
| Instant (const Instant &)=default | |
| Copy construct. More... | |
| Instant (Instant &&)=default | |
| Move construct. More... | |
| Instant & | operator= (const Instant &)=default |
| Copy assignment. More... | |
| Instant & | operator= (Instant &&)=default |
| Move assignment. More... | |
| Instant () | |
| Default construct, with value = 0 and empty name. More... | |
| Instant (scalar val, const T &key) | |
| Copy construct from components. More... | |
| Instant (scalar val, T &&key) | |
| Move construct from components. More... | |
| scalar | value () const noexcept |
| The value (const access) More... | |
| scalar & | value () noexcept |
| The value (non-const access) More... | |
| const T & | name () const noexcept |
| The name/key (const access) More... | |
| T & | name () noexcept |
| The name/key (non-const access) More... | |
| bool | equal (scalar val) const noexcept |
| True if values are equal (includes SMALL for rounding) More... | |
| template<class T2 > | |
| bool | equal (const Instant< T2 > &other) const noexcept |
| True if values are equal (includes SMALL for rounding) More... | |
A tuple of scalar value and key. The value often corresponds to a time value, thus the naming of the class. The key will usually be a time name or a file name etc.
|
inline |
|
inlinenoexcept |
The value (const access)
Definition at line 134 of file Instant.H.
Referenced by seriesWriter::append(), timeSelector::contains(), seriesWriter::load(), ensightCase::nextTime(), seriesLess::operator()(), Foam::operator>>(), seriesWriter::removeNewer(), ensightCase::setTime(), and Time::setTime().

|
inlinenoexcept |
|
inlinenoexcept |
The name/key (const access)
Definition at line 144 of file Instant.H.
Referenced by seriesWriter::append(), seriesWriter::load(), seriesLess::operator()(), Foam::operator>>(), boundaryDataSurfaceReader::readField(), seriesWriter::removeNewer(), and Time::setTime().

|
inlinenoexcept |
|
inlinenoexcept |
True if values are equal (includes SMALL for rounding)
Definition at line 155 of file Instant.H.
Referenced by masterUncollatedFileOperation::findInstancePath(), Time::findInstancePath(), and masterUncollatedFileOperation::readObjects().

|
inlinenoexcept |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.