userver: utils::statistics::Label Class Reference
Loading...
Searching...
No Matches
utils::statistics::Label Class Referencefinal

#include <userver/utils/statistics/labels.hpp>

Detailed Description

Label name+value storage.

Definition at line 38 of file labels.hpp.

Public Member Functions

 Label (LabelView view)
 
 Label (std::string name, std::string value)
 
 operator bool () const
 
 operator LabelView () const
 
const std::string & Name () const
 
const std::string & Value () const &
 
std::string & Value () &
 
std::string && Value () &&
 

Member Function Documentation

◆ Name()

const std::string & utils::statistics::Label::Name ( ) const
inline

Definition at line 47 of file labels.hpp.

◆ operator bool()

utils::statistics::Label::operator bool ( ) const
inlineexplicit

Definition at line 44 of file labels.hpp.

◆ operator LabelView()

utils::statistics::Label::operator LabelView ( ) const
inlineexplicit

Definition at line 45 of file labels.hpp.

◆ Value() [1/3]

std::string & utils::statistics::Label::Value ( ) &
inline

Definition at line 49 of file labels.hpp.

◆ Value() [2/3]

std::string && utils::statistics::Label::Value ( ) &&
inline

Definition at line 50 of file labels.hpp.

◆ Value() [3/3]

const std::string & utils::statistics::Label::Value ( ) const &
inline

Definition at line 48 of file labels.hpp.


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