75 FieldInfo(
FieldName aName, std::string aDescription, std::string aUnit,
size_t anIndex, std::string aDynamicDescription) :
Object used to describe a field (or metric)
FieldName name
Name of the field.
std::string description
Description of the field.
std::vector< std::string > FieldName
Type used for field names (an array of strings)
Namespace for sources of metrics objects and operations.
FieldInfo(FieldName aName, std::string aDescription, std::string aUnit, size_t anIndex, std::string aDynamicDescription)
Construct a new Field Info object.
IndexAndDescription(size_t anIndex, std::string aDescription)
FieldInfo(FieldName aName, std::string aDescription, std::string aUnit)
Construct a new Field Info object.
bool isDynamic()
Checks if the field name contains any dynamic part.
std::string unit
Unit of the field's metric.
std::vector< IndexAndDescription > dynamicIndexes
Indexes and descriptions of the dynamic parts of the field name.
FieldInfo()
Construct a new Field Info object.