#include <sampling.h>
Public Types | |
using | value_type = SampleT |
using | difference_type = std::size_t |
using | iterator = SampleIterator< SampleList< SampleT, MaxSize > > |
using | size_type = std::size_t |
Public Member Functions | |
SampleList (const SampleList &)=delete | |
SampleList (SampleList &&other) noexcept | |
SampleList & | operator= (SampleList &&other) noexcept |
template<typename... MultiSampleT> | |
SampleList (MultiSampleT... initialiserElements) | |
void | push (Sample< SampleValueT > sample) |
void | push (Date taken, SampleValueT val) |
std::size_t | size () const |
const SampleT & | operator[] (std::size_t idx) const |
void | clearBeforeDate (const Date &before) |
void | clear () |
Date | latest () |
SampleIterator< SampleList< SampleT, MaxSize > > | begin () |
SampleIterator< SampleList< SampleT, MaxSize > > | end () |
Static Public Attributes | |
static constexpr std::size_t | max_size = MaxSize |
A Circular container for Samples Can be used as a container in the views library