MetroCollect  2.3.4
MetroCollect::MetricsSource::KeyUnit Struct Reference

Stuct to associate a field name containing a certain key with a unit. More...

#include <SourceTools.h>

Public Member Functions

constexpr KeyUnit ()
 
constexpr KeyUnit (std::string_view aKey, std::string_view aUnit)
 

Public Attributes

std::string_view key
 
std::string_view unit
 

Detailed Description

Stuct to associate a field name containing a certain key with a unit.

Definition at line 78 of file SourceTools.h.

Constructor & Destructor Documentation

◆ KeyUnit() [1/2]

constexpr MetroCollect::MetricsSource::KeyUnit::KeyUnit ( )
inline

Definition at line 82 of file SourceTools.h.

◆ KeyUnit() [2/2]

constexpr MetroCollect::MetricsSource::KeyUnit::KeyUnit ( std::string_view  aKey,
std::string_view  aUnit 
)
inline

Definition at line 83 of file SourceTools.h.

Member Data Documentation

◆ key

std::string_view MetroCollect::MetricsSource::KeyUnit::key

Definition at line 79 of file SourceTools.h.

◆ unit

std::string_view MetroCollect::MetricsSource::KeyUnit::unit

Definition at line 80 of file SourceTools.h.


The documentation for this struct was generated from the following file: