RaggedAnalogTimeSeries::FlatElement
RaggedAnalogTimeSeries::FlatElement
Entry structure for flat element iteration. More…
#include <RaggedAnalogTimeSeries.hpp>
Public Functions
| Name | |
|---|---|
| FlatElement() =default | |
| FlatElement(TimeFrameIndex t, float v) | |
| TimeFrameIndex | time() const Get the time of this element (for TimeSeriesElement concept). |
| float | value() const Get the value of this element (for ValueElement concept). |
Public Attributes
| Name | |
|---|---|
| TimeFrameIndex | _time |
| float | _value |
Detailed Description
struct RaggedAnalogTimeSeries::FlatElement;Entry structure for flat element iteration.
See: TimeSeriesConcepts.hpp for concept definitions
Represents a single (time, value) pair from the flattened ragged structure. Satisfies the TimeSeriesElement and ValueElement
Public Functions Documentation
function FlatElement
FlatElement() =defaultfunction FlatElement
inline FlatElement(
TimeFrameIndex t,
float v
)function time
inline TimeFrameIndex time() constGet the time of this element (for TimeSeriesElement concept).
Return: TimeFrameIndex The element timestamp
function value
inline float value() constGet the value of this element (for ValueElement concept).
Return: float The element value
Public Attributes Documentation
variable _time
TimeFrameIndex _time {TimeFrameIndex(0)};variable _value
float _value {0.0f};Updated on 2026-11-13 at 20:25:40 +0000