Skip to content

datatypes::timeseries::IrregularTimeStepImplementation

#include <time_step_implementation.h>

Inherits from datatypes::timeseries::TimeStepImplementation

Inherited by datatypes::timeseries::MonthlyQppTimeStepImplementation

Public Functions

Name
virtual ~IrregularTimeStepImplementation()
virtual TimeStepImplementation * Clone() =0
virtual bool Equals(TimeStepImplementation * tsImpl) const =0
virtual TimeStepImplementation * Multiply(int mult) const
virtual TimeStepImplementation * Multiply(double mult) const
virtual TimeStepImplementation * Divide(int divisor) const
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
virtual const void Increment(ptime * t) const =0
virtual bool IsRegular() const
virtual time_duration GetRegularStepDuration() const
virtual std::string GetName() const =0

Protected Functions

Name
virtual const double GetLinearIndexing(const ptime & start, const ptime & end) const =0

Additional inherited members

Public Functions inherited from datatypes::timeseries::TimeStepImplementation

Name
virtual ~TimeStepImplementation()
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
void CheckIsDateTime(const ptime & instant)

Public Functions Documentation

function ~IrregularTimeStepImplementation

inline virtual ~IrregularTimeStepImplementation()

function Clone

virtual TimeStepImplementation * Clone() =0

Reimplements: datatypes::timeseries::TimeStepImplementation::Clone

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::Clone

function Equals

virtual bool Equals(
    TimeStepImplementation * tsImpl
) const =0

Reimplements: datatypes::timeseries::TimeStepImplementation::Equals

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::Equals

function Multiply

virtual TimeStepImplementation * Multiply(
    int mult
) const

Reimplements: datatypes::timeseries::TimeStepImplementation::Multiply

function Multiply

virtual TimeStepImplementation * Multiply(
    double mult
) const

Reimplements: datatypes::timeseries::TimeStepImplementation::Multiply

function Divide

virtual TimeStepImplementation * Divide(
    int divisor
) const

Reimplements: datatypes::timeseries::TimeStepImplementation::Divide

function AddIntSteps

virtual const ptime AddIntSteps(
    const ptime & startTimeStep,
    int n
) const =0

Reimplements: datatypes::timeseries::TimeStepImplementation::AddIntSteps

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::AddIntSteps

function AddSteps

virtual const ptime AddSteps(
    const ptime & startTimeStep,
    double mult
) const =0

Reimplements: datatypes::timeseries::TimeStepImplementation::AddSteps

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::AddSteps

function GetTimeStepDuration

virtual const time_duration GetTimeStepDuration(
    const ptime & startTimeStep
) const

Reimplements: datatypes::timeseries::TimeStepImplementation::GetTimeStepDuration

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::GetTimeStepDuration

function Increment

virtual const void Increment(
    ptime * t
) const =0

Reimplements: datatypes::timeseries::TimeStepImplementation::Increment

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::Increment

function IsRegular

virtual bool IsRegular() const

Reimplements: datatypes::timeseries::TimeStepImplementation::IsRegular

function GetRegularStepDuration

virtual time_duration GetRegularStepDuration() const

Reimplements: datatypes::timeseries::TimeStepImplementation::GetRegularStepDuration

function GetName

virtual std::string GetName() const =0

Reimplements: datatypes::timeseries::TimeStepImplementation::GetName

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::GetName

Protected Functions Documentation

function GetLinearIndexing

virtual const double GetLinearIndexing(
    const ptime & start,
    const ptime & end
) const =0

Reimplements: datatypes::timeseries::TimeStepImplementation::GetLinearIndexing

Reimplemented by: datatypes::timeseries::MonthlyQppTimeStepImplementation::GetLinearIndexing


Updated on 2022-08-21 at 18:10:33 +1000