MetricSample [constructor] | Constructors |
~MetricSample [destructor] | Destroy this metric sample. |
operator= | 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. |
appendGroup | appendGroup overloads |
begin | Return an iterator positioned at the beginning of the sequence of MetricSampleGroup objects contained by this object. Note that the iterator will remain valid until this sample is modified by invoking either appendGroups or removeAllRecords(). |
end | Return an iterator positioned one one past the final MetricSampleGroup object in the sequence of sample groups contained by this object. Note that the iterator will remain valid until this sample is modified by invoking appendGroup or removeAllRecords(). |
numGroups | Return the number of record groups (i.e., MetricSampleGroup objects) that are contained in this object. |
numRecords | Return the total number of records in this sample (i.e., the sum of the lengths of all the appended record groups). |
print | Format this object to the specified output stream at the (absolute value of) the optionally specified indentation level and return a reference to stream. If level is specified, optionally specify spacesPerLevel, the number of spaces per indentation level for this and all of its nested objects. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by level). If stream is not valid on entry, this operation has no effect. |
removeAllRecords | Remove all metric records from this sample. |
sampleGroup | Return a reference to the non-modifiable MetricSampleGroup object at the specified index in this sample. The behavior is undefined unless 0 <= index < numGroups(). Note that the returned reference will remain valid until this sample is modified by invoking appendGroup or removeAllRecords(). |
setTimeStamp | Set the timestamp (used to indicate when the sample was taken) to the specified timeStamp. |
timeStamp | Return a reference to the non-modifiable timestamp for this sample. |
operator BloombergLP::bslmf::NestedTraitDeclaration<MetricSample, UsesBslmaAllocator> | Declare that this type uses a bslma allocator. |