A tuple of 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 |
Public Member Functions | |
Instant () | |
Instant (scalar val, const T &key) | |
Instant (scalar val, T &&key) | |
Instant (const Instant &)=default | |
Instant (Instant &&)=default | |
scalar | value () const |
scalar & | value () |
const T & | name () const |
T & | name () |
bool | equal (scalar val) const |
template<class T2 > | |
bool | equal (const Instant< T2 > &other) const |
Instant & | operator= (const Instant &)=default |
Instant & | operator= (Instant &&)=default |
A tuple of 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 |
Definition at line 95 of file Instant.H.
Referenced by seriesWriter::append(), Instant< word >::equal(), noiseModel::findStartTimeIndex(), seriesWriter::load(), ensightCase::nextTime(), seriesLess::operator()(), Instant< T >::less::operator()(), Foam::operator<(), Foam::operator>(), seriesWriter::removeNewer(), timeSelector::selected(), ensightCase::setTime(), and Time::setTime().
|
inline |
Definition at line 107 of file Instant.H.
Referenced by seriesWriter::append(), seriesWriter::load(), seriesLess::operator()(), seriesWriter::removeNewer(), and Time::setTime().
bool equal | ( | scalar | val | ) | const |
Definition at line 52 of file Instant.C.
Referenced by masterUncollatedFileOperation::findInstancePath(), Time::findInstancePath(), Foam::operator!=(), Foam::operator==(), and masterUncollatedFileOperation::readObjects().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.