#include <userver/utils/statistics/labels.hpp>
Non owning label name+value storage.
Definition at line 19 of file labels.hpp.
|
|
| LabelView (Label &&label)=delete |
| |
|
| LabelView (const Label &label) |
| |
| constexpr | LabelView (std::string_view name, std::string_view value) |
| |
| template<class T, std::enable_if_t< std::is_arithmetic_v< T > > * = nullptr> |
| constexpr | LabelView (std::string_view, T) |
| |
| constexpr | operator bool () const |
| |
| constexpr std::string_view | Name () const |
| |
| constexpr std::string_view | Value () const |
| |
◆ LabelView() [1/2]
| utils::statistics::LabelView::LabelView |
( |
std::string_view | name, |
|
|
std::string_view | value ) |
|
inlineconstexpr |
◆ LabelView() [2/2]
template<class T, std::enable_if_t< std::is_arithmetic_v< T > > * = nullptr>
| utils::statistics::LabelView::LabelView |
( |
std::string_view | , |
|
|
T | ) |
|
inlineconstexpr |
◆ Name()
| std::string_view utils::statistics::LabelView::Name |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator bool()
| utils::statistics::LabelView::operator bool |
( |
| ) |
const |
|
inlineexplicitconstexpr |
◆ Value()
| std::string_view utils::statistics::LabelView::Value |
( |
| ) |
const |
|
inlineconstexpr |
The documentation for this class was generated from the following file: