8#ifndef INCLUDED_BALM_METRICID
9#define INCLUDED_BALM_METRICID
12BSLS_IDENT(
"$Id: balm_metricid.h,v 1.4 2008/04/16 20:00:49 hversche Exp $")
135#include <balscm_version.h>
143#include <bsl_iosfwd.h>
238 bsl::ostream&
print(bsl::ostream& stream)
const;
294: d_description_p(metricDescription)
302 return d_description_p;
309 return d_description_p;
315 return 0 != d_description_p;
333 return d_description_p->
name();
341 return lhs.description() == rhs.description();
347 return !(lhs == rhs);
353 return lhs.description() < rhs.description();
359 return rhs.print(stream);
Definition balm_category.h:151
const char * name() const
Definition balm_category.h:334
Definition balm_metricdescription.h:158
const Category * category() const
Definition balm_metricdescription.h:367
const char * name() const
Definition balm_metricdescription.h:361
Definition balm_metricid.h:162
bool isValid() const
Definition balm_metricid.h:313
const Category * category() const
Definition balm_metricid.h:319
const MetricDescription *& description()
Definition balm_metricid.h:300
const char * metricName() const
Definition balm_metricid.h:331
~MetricId()=default
Destroy this object.
MetricId(const MetricId &original)=default
MetricId()
Create an invalid metric id.
Definition balm_metricid.h:287
MetricId & operator=(const MetricId &rhs)=default
BSLMF_NESTED_TRAIT_DECLARATION(MetricId, bsl::is_trivially_copyable)
const char * categoryName() const
Definition balm_metricid.h:325
bsl::ostream & print(bsl::ostream &stream) const
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balm_bdlmmetricsadapter.h:141
bool operator<(const MetricId &lhs, const MetricId &rhs)
bool operator==(const IntegerMetric &lhs, const IntegerMetric &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, const Category &rhs)
bool operator!=(const IntegerMetric &lhs, const IntegerMetric &rhs)
Definition bslmf_istriviallycopyable.h:329