[#BloombergLP-balm-operator_eq-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<balm_integermetric.h>` Return `true` if the specified `lhs` and `rhs` metric ids have the same value and `false` otherwise. Two metric ids have the same value if they each hold the address of the same `MetricDescription` object, or both addresses are 0. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-0f.adoc[operator==]( xref:BloombergLP/balm/MetricId.adoc[MetricId] const& lhs, xref:BloombergLP/balm/MetricId.adoc[MetricId] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-0f.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` metric records have the same value and `false` otherwise. Two records have the same value if they have the same values for their `metricId`, `count`, `total`, `min`, and `max` attributes, respectively. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-0b.adoc[operator==]( xref:BloombergLP/balm/MetricRecord.adoc[MetricRecord] const& lhs, xref:BloombergLP/balm/MetricRecord.adoc[MetricRecord] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-0b.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` metrics have the same value and `false` otherwise. Two metrics have the same value if they record measurements using the same collector object or if they both have a null collector (i.e., `collector()` is 0). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-02.adoc[operator==]( xref:BloombergLP/balm/Metric.adoc[Metric] const& lhs, xref:BloombergLP/balm/Metric.adoc[Metric] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-02.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` metric format specs have the same value, and `false` otherwise. Two format specs have the same value if they have the same values for their `scale` and `format` attributes, respectively. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-0ea.adoc[operator==]( xref:BloombergLP/balm/MetricFormatSpec.adoc[MetricFormatSpec] const& lhs, xref:BloombergLP/balm/MetricFormatSpec.adoc[MetricFormatSpec] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-0ea.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` metric formats have the same value, and `false` otherwise. Two metric formats have the same value if they have the same value for `formatSpec` for each of the enumerated publication types. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-0c.adoc[operator==]( xref:BloombergLP/balm/MetricFormat.adoc[MetricFormat] const& lhs, xref:BloombergLP/balm/MetricFormat.adoc[MetricFormat] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-0c.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` integer metrics have the same value and `false` otherwise. Two integer metrics have the same value if they record measurements using the same integer collector object or if they both have null collectors (i.e., `collector()` is 0). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-0eb.adoc[operator==]( xref:BloombergLP/balm/IntegerMetric.adoc[IntegerMetric] const& lhs, xref:BloombergLP/balm/IntegerMetric.adoc[IntegerMetric] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-0eb.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` sample groups have the same value, and `false` otherwise. Two sample groups have the same value if the respective record sequence‐addresses, number of records, and elapsed time are the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-08.adoc[operator==]( xref:BloombergLP/balm/MetricSampleGroup.adoc[MetricSampleGroup] const& lhs, xref:BloombergLP/balm/MetricSampleGroup.adoc[MetricSampleGroup] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-08.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` samples have the same value, and `false` otherwise. Two samples have the same value if they have the same timestamp value, contain the same number of record groups, and if the respective groups of records at each index position have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balm/operator_eq-0d.adoc[operator==]( xref:BloombergLP/balm/MetricSample.adoc[MetricSample] const& lhs, xref:BloombergLP/balm/MetricSample.adoc[MetricSample] const& rhs); ---- [.small]#xref:BloombergLP/balm/operator_eq-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#