robometry::ChannelInfo struct

Struct representing a channel(variable) in terms of name and dimensions and names of the each element of a variable.

Constructors, destructors, conversion operators

ChannelInfo() defaulted
Default constructor.
ChannelInfo(const std::string& name, const dimensions_t& dimensions, const elements_names_t& elements_names = elements_names_t(), const units_of_measure_t& units_of_measure = units_of_measure_t())
Construct a ChannelInfo from name, dimensions, a vector containing the names of each element of the channel and the unit of measure of the channel.

Public variables

std::string name
Name of the channel.
dimensions_t dimensions
Dimension of the channel.
elements_names_t elements_names
Vector containing the names of each element of the channel.
units_of_measure_t units_of_measure
Units of measure of the channel.

Function documentation

robometry::ChannelInfo::ChannelInfo(const std::string& name, const dimensions_t& dimensions, const elements_names_t& elements_names = elements_names_t(), const units_of_measure_t& units_of_measure = units_of_measure_t())

Construct a ChannelInfo from name, dimensions, a vector containing the names of each element of the channel and the unit of measure of the channel.

Parameters
name name of the channel.
dimensions dimensions of the channel.
elements_names vector containing the names of each element of the channel.
units_of_measure unit of measure of the channel.