Create a metric description for the specified category and the specified name. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The initial value for preferredPublicationType is e_UNSPECIFIED, and the initial value for format is 0. The behavior is undefined unless name and category remain valid, and the contents of name remain unmodified, for the lifetime of this object.

Synopsis

Declared in <balm_metricdescription.h>

MetricDescription(
    Category const* category,
    char const* name,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs