BloombergLP::bdlm::Metric

This class provides storage for various types of metric values.

Synopsis

Declared in <bdlm_metric.h>

class Metric;

Type Aliases

NameDescription
Gauge This typedef is an alias for a gauge metric value.

Member Functions

NameDescription
Metric [constructor]Constructors
operator= Assign to this metric the specified value.
isGauge Return true if the value of this metric is of gauge type, and false otherwise.
theGauge Return a const reference to the value of this metric of gauge type. The behavior is undefined unless true == isGuage().

Friends

NameDescription
BloombergLP::bdlm::operator!=Return true if the specified lhs and rhs metrics do not have the same value and false otherwise.
BloombergLP::bdlm::operator==Return true if the specified lhs and rhs metrics have the same value and false otherwise.