BloombergLP::balm::MetricRegistry::findCategory

Find the registered category named category.

Synopsis

Declared in <balm_metricregistry.h>

Category const*
findCategory(char const* category) const;

Description

Find the specified category, a null-terminated string, in this registry. Return the address of the non-modifiable balm::Category object corresponding to the category, or 0 if no such category has been registered.

Return Value

address of the category, or 0 if not registered

Parameters

NameDescription
categorynull-terminated category name