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)
Construct a ChannelInfo from name, dimensions and a vector containing the name of the elements associated to the channel.
ChannelInfo(const std::string& name, const dimensions_t& dimensions)
Construct a ChannelInfo from name and dimensions.

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.

Function documentation

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

Construct a ChannelInfo from name, dimensions and a vector containing the name of the elements associated to the channel.

Parameters
name name of the channel.
dimensions dimension associated to the channel.
elements_names Vector containing the names of each element of the channel.

robometry::ChannelInfo::ChannelInfo(const std::string& name, const dimensions_t& dimensions)

Construct a ChannelInfo from name and dimensions.

Parameters
name name of the channel.
dimensions dimension associated to the channel.