Find the metric id for category and name in this registry.

Synopsis

Declared in <balm_metricregistry.h>

MetricId
findId(
    char const* category,
    char const* name) const;

Description

Find the specified null‐terminated strings category and name in this registry. Return the balm::MetricId object corresponding to the metric having the category and name, if found, or an invalid metric id if no such metric has been registered (i.e., isValid will return false).

Return Value

metric id for category and name, or an invalid id if not registered

Parameters

Name

Description

category

null‐terminated category name

name

null‐terminated metric name

Created with MrDocs