[#BloombergLP-balm-IntegerMetric-2constructor-0f7] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/IntegerMetric.adoc[IntegerMetric]::IntegerMetric :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balm_integermetric.h>` Create an integer metric object having the same value as `original`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/IntegerMetric/2constructor-044.adoc[IntegerMetric](xref:BloombergLP/balm/IntegerMetric.adoc[IntegerMetric] const& original); ---- [.small]#xref:BloombergLP/balm/IntegerMetric/2constructor-044.adoc[_» more..._]# Create an integer metric object that uses the specified `collector`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balm/IntegerMetric/2constructor-0fc.adoc[IntegerMetric](xref:BloombergLP/balm/IntegerCollector.adoc[IntegerCollector]* collector); ---- [.small]#xref:BloombergLP/balm/IntegerMetric/2constructor-0fc.adoc[_» more..._]# Create an integer metric object for the specified `metricId`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balm/IntegerMetric/2constructor-0e.adoc[IntegerMetric]( xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId, xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]* manager = 0); ---- [.small]#xref:BloombergLP/balm/IntegerMetric/2constructor-0e.adoc[_» more..._]# Create an integer metric object for the specified `category` and `name`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/IntegerMetric/2constructor-04c.adoc[IntegerMetric]( char const* category, char const* name, xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]* manager = 0); ---- [.small]#xref:BloombergLP/balm/IntegerMetric/2constructor-04c.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *original* | integer metric to copy | *collector* | integer collector used to record metric values | *metricId* | identity of the metric to collect | *manager* | metrics manager used to provide a collector (0 for default) | *category* | null‐terminated metric category name | *name* | null‐terminated metric name |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#