|
vecDouble | m_dates |
|
vecDouble | m_values |
|
int | m_cursor |
|
◆ AdvanceOneTimeStep()
bool TimeSeriesDataIrregular::AdvanceOneTimeStep |
( |
| ) |
|
|
overridevirtual |
Advance the cursor to the next time step.
- Returns
- true if the cursor was successfully advanced to the next time step.
Implements TimeSeriesData.
◆ GetCurrentValue()
double TimeSeriesDataIrregular::GetCurrentValue |
( |
| ) |
|
|
overridevirtual |
Get the current value.
- Returns
- the current value.
Reimplemented from TimeSeriesData.
◆ GetEnd()
double TimeSeriesDataIrregular::GetEnd |
( |
| ) |
|
|
overridevirtual |
Get the end date of the time series data.
- Returns
- the end date of the time series data.
Implements TimeSeriesData.
◆ GetStart()
double TimeSeriesDataIrregular::GetStart |
( |
| ) |
|
|
overridevirtual |
Get the start date of the time series data.
- Returns
- the start date of the time series data.
Implements TimeSeriesData.
◆ GetSum()
double TimeSeriesDataIrregular::GetSum |
( |
| ) |
|
|
overridevirtual |
Get the sum of the values.
- Returns
- the sum of the values.
Reimplemented from TimeSeriesData.
◆ GetValueFor()
double TimeSeriesDataIrregular::GetValueFor |
( |
double | date | ) |
|
|
overridevirtual |
Get the value for the provided date.
- Parameters
-
date | date to get the value for. |
- Returns
- the value for the provided date.
Reimplemented from TimeSeriesData.
◆ SetCursorToDate()
bool TimeSeriesDataIrregular::SetCursorToDate |
( |
double | date | ) |
|
|
overridevirtual |
Set the cursor to the provided date.
- Parameters
-
date | date to set the cursor to. |
- Returns
- true if the cursor was successfully set to the provided date.
Implements TimeSeriesData.
◆ SetValues()
bool TimeSeriesDataIrregular::SetValues |
( |
const vecDouble & | values | ) |
|
|
overridevirtual |
Set the values of the time series data.
- Parameters
-
values | vector of values to set. |
- Returns
- true if the values were successfully set.
Reimplemented from TimeSeriesData.
The documentation for this class was generated from the following files:
- /github/workspace/core/src/base/TimeSeriesData.h
- /github/workspace/core/src/base/TimeSeriesData.cpp