Create a metric description for the specified category and the specified name.
Synopsis
Declared in <balm_metricdescription.h>
MetricDescription(
Category const* category,
char const* name,
bslma::Allocator* basicAllocator = 0);
Description
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.
Parameters
Name |
Description |
category |
address of the category (held, not owned) |
name |
null‐terminated metric name (held, not owned) |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs