8#ifndef INCLUDED_BDLM_METRIC
9#define INCLUDED_BDLM_METRIC
67#include <bdlb_variant.h>
180 return lhs.d_value == rhs.d_value;
186 return lhs.d_value != rhs.d_value;
bool is() const
Definition bdlb_variant.h:7605
TYPE & the()
Definition bdlb_variant.h:7517
Definition bdlb_variant.h:2312
Definition bdlm_metric.h:77
bool isGauge() const
Definition bdlm_metric.h:163
double Gauge
Definition bdlm_metric.h:81
friend bool operator!=(const Metric &lhs, const Metric &rhs)
Definition bdlm_metric.h:184
friend bool operator==(const Metric &lhs, const Metric &rhs)
Definition bdlm_metric.h:178
Metric()
Create a default (empty) metric.
Definition bdlm_metric.h:142
const Gauge & theGauge() const
Definition bdlm_metric.h:169
Metric & operator=(const Gauge &value)
Assign to this metric the specified value.
Definition bdlm_metric.h:155
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlm_instancecount.h:101