This attribute class characterizes how to describe a metric.

Synopsis

Declared in <bdlm_metricdescriptor.h>

class MetricDescriptor;

Member Functions

Name

Description

MetricDescriptor [constructor]

Constructors

operator=

Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object.

allocator

Return the allocator used by this object to supply memory.

instanceNumber

Return the instanceNumber attribute.

metricName

Return the metricName attribute.

metricNamespace

Return the metricNamespace attribute.

objectIdentifier

Return the objectIdentifier attribute.

objectTypeAbbreviation

Return the objectTypeAbbreviation attribute.

objectTypeName

Return the objectTypeName attribute.

setInstanceNumber

Set the instanceNumber attribute of this object to the specified value.

setMetricName

Set the metricName attribute of this object to the specified value.

setMetricNamespace

Set the metricNamespace attribute of this object to the specified value.

setObjectIdentifier

Set the objectIdentifier attribute of this object to the specified value.

setObjectTypeAbbreviation

Set the objectTypeAbbreviation attribute of this object to the specified value.

setObjectTypeName

Set the objectTypeName attribute of this object to the specified value.

operator BloombergLP::bslmf::NestedTraitDeclaration<MetricDescriptor, UsesBslmaAllocator>

Declare that this type uses a bslma allocator.

Static Data Members

Name

Description

k_USE_METRICS_ADAPTER_NAMESPACE_SELECTION

Sentinel value indicating that the metrics adapter should select the namespace attribute.

k_USE_METRICS_ADAPTER_OBJECT_ID_SELECTION

Sentinel value indicating that the metrics adapter should select the object identifier attribute.

Friends

Name

Description

BloombergLP::bdlm::operator!=

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two MetricDescriptor objects do not have the same value if any of their attributes (respectively) do not have the same value.

BloombergLP::bdlm::operator==

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two MetricDescriptor objects have the same value if each of their attributes (respectively) have the same value.

Created with MrDocs