datatypes::timeseries::TimeStepImplementation¶
#include <time_step_implementation.h>
Inherited by datatypes::timeseries::IrregularTimeStepImplementation, datatypes::timeseries::RegularTimeStepImplementation
Public Functions¶
Name | |
---|---|
virtual | ~TimeStepImplementation() |
virtual TimeStepImplementation * | Clone() =0 |
virtual TimeStepImplementation * | Multiply(int mult) const =0 |
virtual TimeStepImplementation * | Divide(int divisor) const =0 |
virtual TimeStepImplementation * | Multiply(double mult) const =0 |
virtual bool | Equals(TimeStepImplementation * tsImpl) const =0 |
virtual const ptime | AddIntSteps(const ptime & startTimeStep, int n) const =0 |
virtual const ptime | AddSteps(const ptime & startTimeStep, double mult) const =0 |
virtual const time_duration | GetTimeStepDuration(const ptime & startTimeStep) const =0 |
virtual const void | Increment(ptime * t) const =0 |
virtual const ptrdiff_t | GetUpperNumSteps(const ptime & start, const ptime & end) const |
virtual const ptrdiff_t | GetNumSteps(const ptime & start, const ptime & end) const |
virtual const ptrdiff_t | GetOffset(const ptime & start, const ptime & end) const |
virtual bool | IsRegular() const =0 |
virtual time_duration | GetRegularStepDuration() const =0 |
virtual std::string | GetName() const =0 |
void | CheckIsDateTime(const ptime & instant) |
Protected Functions¶
Name | |
---|---|
virtual const double | GetLinearIndexing(const ptime & start, const ptime & end) const =0 |
Public Functions Documentation¶
function ~TimeStepImplementation¶
function Clone¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::Clone, datatypes::timeseries::MonthlyQppTimeStepImplementation::Clone, datatypes::timeseries::IrregularTimeStepImplementation::Clone
function Multiply¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::Multiply, datatypes::timeseries::IrregularTimeStepImplementation::Multiply
function Divide¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::Divide, datatypes::timeseries::IrregularTimeStepImplementation::Divide
function Multiply¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::Multiply, datatypes::timeseries::IrregularTimeStepImplementation::Multiply
function Equals¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::Equals, datatypes::timeseries::MonthlyQppTimeStepImplementation::Equals, datatypes::timeseries::IrregularTimeStepImplementation::Equals
function AddIntSteps¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::AddIntSteps, datatypes::timeseries::MonthlyQppTimeStepImplementation::AddIntSteps, datatypes::timeseries::IrregularTimeStepImplementation::AddIntSteps
function AddSteps¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::AddSteps, datatypes::timeseries::MonthlyQppTimeStepImplementation::AddSteps, datatypes::timeseries::IrregularTimeStepImplementation::AddSteps
function GetTimeStepDuration¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::GetTimeStepDuration, datatypes::timeseries::IrregularTimeStepImplementation::GetTimeStepDuration, datatypes::timeseries::MonthlyQppTimeStepImplementation::GetTimeStepDuration
function Increment¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::Increment, datatypes::timeseries::MonthlyQppTimeStepImplementation::Increment, datatypes::timeseries::IrregularTimeStepImplementation::Increment
function GetUpperNumSteps¶
function GetNumSteps¶
function GetOffset¶
function IsRegular¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::IsRegular, datatypes::timeseries::IrregularTimeStepImplementation::IsRegular
function GetRegularStepDuration¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::GetRegularStepDuration, datatypes::timeseries::IrregularTimeStepImplementation::GetRegularStepDuration
function GetName¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::GetName, datatypes::timeseries::MonthlyQppTimeStepImplementation::GetName, datatypes::timeseries::IrregularTimeStepImplementation::GetName
function CheckIsDateTime¶
Protected Functions Documentation¶
function GetLinearIndexing¶
Reimplemented by: datatypes::timeseries::RegularTimeStepImplementation::GetLinearIndexing, datatypes::timeseries::MonthlyQppTimeStepImplementation::GetLinearIndexing, datatypes::timeseries::IrregularTimeStepImplementation::GetLinearIndexing
Updated on 2022-08-21 at 18:10:33 +1000