Skip to content

datatypes::timeseries::MonthlyQppTimeStepImplementation

#include <time_step_implementation.h>

Inherits from datatypes::timeseries::IrregularTimeStepImplementation, datatypes::timeseries::TimeStepImplementation

Public Functions

Name
virtual ~MonthlyQppTimeStepImplementation()
virtual TimeStepImplementation * Clone()
virtual bool Equals(TimeStepImplementation * tsImpl) const
virtual const ptime AddIntSteps(const ptime & startTimeStep, int n) const
virtual const ptime AddSteps(const ptime & startTimeStep, double mult) const
virtual const time_duration GetTimeStepDuration(const ptime & startTimeStep) const override
virtual const void Increment(ptime * t) const
virtual std::string GetName() const

Protected Functions

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

Additional inherited members

Public Functions inherited from datatypes::timeseries::IrregularTimeStepImplementation

Name
virtual ~IrregularTimeStepImplementation()
virtual TimeStepImplementation * Multiply(int mult) const
virtual TimeStepImplementation * Multiply(double mult) const
virtual TimeStepImplementation * Divide(int divisor) const
virtual bool IsRegular() const
virtual time_duration GetRegularStepDuration() const

Public Functions inherited from datatypes::timeseries::TimeStepImplementation

Name
virtual ~TimeStepImplementation()
virtual TimeStepImplementation * Multiply(int mult) const =0
virtual TimeStepImplementation * Divide(int divisor) const =0
virtual TimeStepImplementation * Multiply(double mult) 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
void CheckIsDateTime(const ptime & instant)

Public Functions Documentation

function ~MonthlyQppTimeStepImplementation

inline virtual ~MonthlyQppTimeStepImplementation()

function Clone

virtual TimeStepImplementation * Clone()

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::Clone

function Equals

virtual bool Equals(
    TimeStepImplementation * tsImpl
) const

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::Equals

function AddIntSteps

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

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::AddIntSteps

function AddSteps

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

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::AddSteps

function GetTimeStepDuration

virtual const time_duration GetTimeStepDuration(
    const ptime & startTimeStep
) const override

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::GetTimeStepDuration

function Increment

virtual const void Increment(
    ptime * t
) const

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::Increment

function GetName

virtual std::string GetName() const

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::GetName

Protected Functions Documentation

function GetLinearIndexing

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

Reimplements: datatypes::timeseries::IrregularTimeStepImplementation::GetLinearIndexing


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