[#BloombergLP-balm-MetricRecord-2constructor-0fc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricRecord.adoc[MetricRecord]::MetricRecord :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balm_metricrecord.h>` Create a metric record having default values for its metric `metricId`, `count`, `total`, `min`, and `max` attributes. The default `metricId` is the invalid id value, the default `count` is 0, the default `total` is 0.0, the default `min` is the defined `k_DEFAULT_MIN` constant (the representation for positive infinity), and the default `max` is the defined `k_DEFAULT_MAX` constant (the representation for negative infinity). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricRecord/2constructor-06.adoc[MetricRecord](); ---- [.small]#xref:BloombergLP/balm/MetricRecord/2constructor-06.adoc[_» more..._]# Create a metric record having the specified `metricId`, and default values for the `total`, `count`, `min`, and `max` attributes. The default `count` is 0, the default `total` is 0.0, the default `min` is the defined `k_DEFAULT_MIN` constant (the representation for positive infinity), and the default `max` is the defined `k_DEFAULT_MAX` constant (the representation for negative infinity). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricRecord/2constructor-0f2.adoc[MetricRecord](xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId); ---- [.small]#xref:BloombergLP/balm/MetricRecord/2constructor-0f2.adoc[_» more..._]# Create a metric record having the specified `metricId`, `count`, `total`, `min`, and `max` attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/MetricRecord/2constructor-08.adoc[MetricRecord]( xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId, int count, double total, double min, double max); ---- [.small]#xref:BloombergLP/balm/MetricRecord/2constructor-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#