46 const std::vector<double> &
at(
core::Gender gender, std::string key)
const;
50 const std::vector<std::string> &
channels() const noexcept;
64 std::
size_t size() const noexcept;
71 std::
size_t sample_size_;
72 std::vector<
std::
string> channels_;
Defines the Simulation results container for time series data.
Definition: data_series.h:16
std::size_t sample_size() const noexcept
Gets the channels sample size, number of points per channel.
Definition: data_series.cpp:46
void add_channel(std::string key)
Adds a new channel to the collection.
Definition: data_series.cpp:27
std::vector< double > & operator()(core::Gender gender, std::string key)
Gets a reference to a channel by Gender and identifier.
Definition: data_series.cpp:13
std::size_t size() const noexcept
Gets the size of the channels collection.
Definition: data_series.cpp:44
const std::vector< std::string > & channels() const noexcept
Gets the collection of channel identifiers.
Definition: data_series.cpp:25
std::vector< double > & at(core::Gender gender, std::string key)
Gets a reference to a channel by Gender and identifier.
Definition: data_series.cpp:17
void add_channels(const std::vector< std::string > &keys)
Adds multiple channels to the collection.
Definition: data_series.cpp:38
Gender
Enumerates gender types.
Definition: forward_type.h:18
Top-level namespace for Health-GPS C++ API.
Definition: analysis_definition.h:8
Global namespace.
Definition: jsonparser.h:88