[#BloombergLP-balm-Metrics_Helper]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::Metrics&lowbar;Helper
:relfileprefix: ../../
:mrdocs:

This `struct` provides a namespace for a suite of functions used in the implementation of the macros defined in this component&period;

== Synopsis

Declared in `&lt;balm&lowbar;metrics&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Metrics&lowbar;Helper;
----

== Description

This type is an implementation detail and _must_ _not_ be used (directly) by clients outside of this component&period;

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balm/Metrics_Helper/NameType.adoc[`NameType`] 
| Identifier type constants for `logEmptyName`&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balm/Metrics_Helper/getCollector.adoc[`getCollector`] 
| Return the default metrics collector for the specified category and metric&period;
| xref:BloombergLP/balm/Metrics_Helper/getIntegerCollector.adoc[`getIntegerCollector`] 
| Return the default integer metrics collector for the specified category and metric&period;
| xref:BloombergLP/balm/Metrics_Helper/initializeCategoryHolder.adoc[`initializeCategoryHolder`] 
| Initialize the specified category `holder` for the specified `category`&period;
| xref:BloombergLP/balm/Metrics_Helper/logEmptyName.adoc[`logEmptyName`] 
| Log a warning if the specified name is empty or whitespace&hyphen;only&period;
| xref:BloombergLP/balm/Metrics_Helper/setPublicationType.adoc[`setPublicationType`] 
| Set the publication type for the metric identified by the specified `id`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
