Skip to content

datatypes::timeseries::EagerWriter

More...

#include <time_series_io.hpp>

Inherits from datatypes::timeseries::StoragePolicy< StorageType >, datatypes::timeseries::TimeSeriesInfoProvider

Public Types

Name
using typename TimeSeriesEnsembleTimeSeriesStore< double >::EnsemblePtrType EnsemblePtrType
using StorageType PtrEnsemblePtrType
using typename EnsemblePtrType::ElementType ElementType
using EnsemblePtrType::ItemType TsType

Public Functions

Name
EagerWriter(WritableTimeSeriesEnsembleTimeSeriesStore< ElementType > * store)
EagerWriter(const EagerWriter & src)
virtual bool ReadOnly() override
virtual size_t Size() const
virtual void Allocate(size_t length, PtrEnsemblePtrType value)
virtual void AllocateValues(size_t length, const PtrEnsemblePtrType * values)
virtual void AllocateValues(const vector< PtrEnsemblePtrType > & values)
virtual void CopyTo(vector< PtrEnsemblePtrType > & dest, size_t from =0, size_t to =-1) const
PtrEnsemblePtrType & GetProxy(const size_t i)
virtual PtrEnsemblePtrType & operator[](const size_t i)
virtual const PtrEnsemblePtrType & operator[](const size_t i) const
virtual StoragePolicy< PtrEnsemblePtrType > * Clone() const
virtual size_t GetLength() const
virtual TimeStep GetTimeStep() const override
virtual ptime GetStart() const override
virtual void SetTimeStep(const TimeStep & tStep) override
virtual void SetStart(const ptime & start) override

Additional inherited members

Public Functions inherited from datatypes::timeseries::StoragePolicy< StorageType >

Name
virtual ~StoragePolicy()

Protected Functions inherited from datatypes::timeseries::StoragePolicy< StorageType >

Name
StoragePolicy(const StoragePolicy & src)
StoragePolicy()

Public Functions inherited from datatypes::timeseries::TimeSeriesInfoProvider

Name
virtual ~TimeSeriesInfoProvider()

Detailed Description

template <typename StorageType >
class datatypes::timeseries::EagerWriter;

Public Types Documentation

using EnsemblePtrType

using datatypes::timeseries::EagerWriter< StorageType >::EnsemblePtrType =  typename TimeSeriesEnsembleTimeSeriesStore<double>::EnsemblePtrType;

using PtrEnsemblePtrType

using datatypes::timeseries::EagerWriter< StorageType >::PtrEnsemblePtrType =  StorageType;

using ElementType

using datatypes::timeseries::EagerWriter< StorageType >::ElementType =  typename EnsemblePtrType::ElementType;

using TsType

using datatypes::timeseries::EagerWriter< StorageType >::TsType =  EnsemblePtrType::ItemType;

Public Functions Documentation

function EagerWriter

inline EagerWriter(
    WritableTimeSeriesEnsembleTimeSeriesStore< ElementType > * store
)

function EagerWriter

inline EagerWriter(
    const EagerWriter & src
)

function ReadOnly

inline virtual bool ReadOnly() override

Reimplements: datatypes::timeseries::StoragePolicy::ReadOnly

function Size

inline virtual size_t Size() const

Reimplements: datatypes::timeseries::StoragePolicy::Size

function Allocate

inline virtual void Allocate(
    size_t length,
    PtrEnsemblePtrType value
)

Reimplements: datatypes::timeseries::StoragePolicy::Allocate

function AllocateValues

inline virtual void AllocateValues(
    size_t length,
    const PtrEnsemblePtrType * values
)

Reimplements: datatypes::timeseries::StoragePolicy::AllocateValues

function AllocateValues

inline virtual void AllocateValues(
    const vector< PtrEnsemblePtrType > & values
)

Reimplements: datatypes::timeseries::StoragePolicy::AllocateValues

function CopyTo

inline virtual void CopyTo(
    vector< PtrEnsemblePtrType > & dest,
    size_t from =0,
    size_t to =-1
) const

Reimplements: datatypes::timeseries::StoragePolicy::CopyTo

function GetProxy

inline PtrEnsemblePtrType & GetProxy(
    const size_t i
)

function operator[]

inline virtual PtrEnsemblePtrType & operator[](
    const size_t i
)

Reimplements: datatypes::timeseries::StoragePolicy::operator[]

function operator[]

inline virtual const PtrEnsemblePtrType & operator[](
    const size_t i
) const

Reimplements: datatypes::timeseries::StoragePolicy::operator[]

function Clone

inline virtual StoragePolicy< PtrEnsemblePtrType > * Clone() const

Reimplements: datatypes::timeseries::StoragePolicy::Clone

function GetLength

inline virtual size_t GetLength() const

Reimplements: datatypes::timeseries::TimeSeriesInfoProvider::GetLength

function GetTimeStep

inline virtual TimeStep GetTimeStep() const override

Reimplements: datatypes::timeseries::StoragePolicy::GetTimeStep

function GetStart

inline virtual ptime GetStart() const override

Reimplements: datatypes::timeseries::StoragePolicy::GetStart

function SetTimeStep

inline virtual void SetTimeStep(
    const TimeStep & tStep
) override

Reimplements: datatypes::timeseries::StoragePolicy::SetTimeStep

function SetStart

inline virtual void SetStart(
    const ptime & start
) override

Reimplements: datatypes::timeseries::StoragePolicy::SetStart


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