An instant of time. Contains the time value and name. More...
#include <OpenFOAM/instant.H>
An instant of time. Contains the time value and name.
Definition at line 65 of file instant.H.
Classes | |
class | less |
Less function class used in sorting instants. More...
| |
Public Member Functions | |
instant () | |
Construct null.
| |
instant (const scalar, const word &) | |
Construct from components.
| |
instant (const scalar) | |
Construct from time value.
| |
instant (const word &) | |
Construct from word.
| |
scalar | value () const |
Value (const access)
| |
scalar & | value () |
Value (non-const access)
| |
const word & | name () const |
Name (const access)
| |
word & | name () |
Name (non-const access)
| |
Static Public Attributes | |
static const char *const | typeName = "instant" |
Friends | |
bool | operator== (const instant &, const instant &) |
bool | operator!= (const instant &, const instant &) |
Istream & | operator>> (Istream &, instant &) |
Ostream & | operator<< (Ostream &, const instant &) |
scalar value | ( | ) | const [inline]
|
Value (const access)
Definition at line 113 of file instant.H.
Referenced by instant::less::operator()(), timeSelector::selected(), and Time::setTime().
const word& name | ( | ) | const [inline]
|