BloombergLP::balm::MetricSample::operator=

Assign to this sample the value of the specified rhs sample.

Synopsis

Declared in <balm_metricsample.h>

MetricSample&
operator=(MetricSample const& rhs);

Description

Assign to this sample the value of the specified rhs sample and return a reference to this modifiable sample. Note that copying the MetricSampleGroup objects contained in rhs copies only the pointers to their respective MetricRecord arrays, and does not copy records themselves; hence, these record arrays must remain valid for the productive lifetimes of all copied objects or until records are removed by calling removeAllRecords.

Return Value

reference to this modifiable sample

Parameters

NameDescription
rhssample to assign from