51template<
class T>
class Pair;
52template<
class T>
class UList;
94 explicit instant(scalar timeValue);
118 const scalar timeVal,
119 const label start = -1
Instant(const Instant &)=default
An ordered pair of two objects of type <T> with first() and second() elements.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
instant()=default
Default construct, with value = 0 and empty name.
instant & operator=(const instant &)=default
Copy assignment.
instant & operator=(instant &&)=default
Move assignment.
instant(instant &&)=default
Move construct.
static label findStart(const UList< instant > ×, const scalar timeVal)
Find and return index of given start time (linear search).
static Pair< label > findRange(const UList< instant > ×, const scalar timeVal, const label start=-1)
Find lower/upper indices for given time value in list of instances (linear search) continuing after t...
instant(const instant &)=default
Copy construct.
static const char *const typeName
The type name (eg, for pTraits).
A class for handling words, derived from Foam::string.