Create an object of this class having the default attribute values. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The default value for the namespace attribute is k_USE_METRICS_ADAPTER_NAMESPACE_SELECTION and the default value for the object identifier attribute is k_USE_METRICS_ADAPTER_OBJECT_ID_SELECTION. The residual attibutes default to an empty string, except the instance number which defaults to 0. Note that implementations of the bdlm::MetricsAdapter protocal will typically use an implementation specific value for the namespace attribute when metricNamespace == k_USE_METRICS_ADAPTER_NAMESPACE_SELECTION and the object identifier attribute when objectIdentrifier == k_USE_METRICS_ADAPTER_OBJECT_ID_SELECTION.

Synopsis

Declared in <bdlm_metricdescriptor.h>

MetricDescriptor(bslma::Allocator* basicAllocator = 0);

Created with MrDocs