BloombergLP::balm::MetricRegistry::getCategory

Return the address of the non-modifiable balm::Category object for the specified category. If no corresponding category exists, register a new category and return the address of the newly-created balm::Category object. The behavior is undefined unless category is null-terminated. Note that this operation is guaranteed to return a valid address.

Synopsis

Declared in <balm_metricregistry.h>

Category const*
getCategory(char const* category);