![]() |
#include <tools/ChronologicalSerie.hpp>
Public Member Functions | |
ChronologicalSerie () | |
void | reset () |
bool | getSurroundingValues (const openfluid::core::DateTime &DT, ChronItem_t &Before, ChronItem_t &After) |
Container for a chronological data serie
|
inline |
Default constructor
bool openfluid::tools::ChronologicalSerie::getSurroundingValues | ( | const openfluid::core::DateTime & | DT, |
ChronItem_t & | Before, | ||
ChronItem_t & | After | ||
) |
Finds the two surrending values for a given date. If the given date is exactly found in the serie, the two surrounding values are the same.
[in] | DT | The date to find surrounding values |
[out] | Before | The closest date before the given date |
[out] | After | The closest date after the given date |
void openfluid::tools::ChronologicalSerie::reset | ( | ) |
Resets the internal iterator