Set the sequence of records referred to by this sample group to the specified sequence of records of specified length numRecords.

Synopsis

Declared in <balm_metricsample.h>

void
setRecords(
    MetricRecord const* records,
    int numRecords);

Description

The behavior is undefined unless 0 <= numRecords, and records refers to a contiguous sequence of (at least) numRecords. Note that the contents of records is not copied and the supplied array must remain valid for the productive lifetime of this object or until the records are set to a different sequence by calling the setRecords manipulator.

Parameters

Name

Description

records

contiguous sequence of metric records (held, not owned)

numRecords

number of records in records

Created with MrDocs