Skip to content

datatypes::timeseries::MissingValuePolicy

An interface for classes that define missing values in time series. More...

#include <time_series_strategies.hpp>

Inherited by datatypes::timeseries::NullPointerIsMissingPolicy< T >

Public Functions

Name
virtual ~MissingValuePolicy()
virtual bool IsMissingValue(const T & a) const =0
virtual T GetMissingValue() const =0
virtual MissingValuePolicy * Clone() const =0

Detailed Description

template <typename T >
class datatypes::timeseries::MissingValuePolicy;

An interface for classes that define missing values in time series.

Template Parameters:

  • T Generic type parameter.

Public Functions Documentation

function ~MissingValuePolicy

inline virtual ~MissingValuePolicy()

function IsMissingValue

virtual bool IsMissingValue(
    const T & a
) const =0

Reimplemented by: datatypes::timeseries::NullPointerIsMissingPolicy::IsMissingValue

function GetMissingValue

virtual T GetMissingValue() const =0

Reimplemented by: datatypes::timeseries::DefaultMissingFloatingPointPolicy::GetMissingValue, datatypes::timeseries::NullPointerIsMissingPolicy::GetMissingValue, datatypes::timeseries::NegativeIsMissingFloatingPointPolicy::GetMissingValue

function Clone

virtual MissingValuePolicy * Clone() const =0

Reimplemented by: datatypes::timeseries::DefaultMissingFloatingPointPolicy::Clone, datatypes::timeseries::NullPointerIsMissingPolicy::Clone, datatypes::timeseries::NegativeIsMissingFloatingPointPolicy::Clone


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