BloombergLP::balm::MetricFormatSpec::MetricFormatSpec

Constructors

Synopses

Declared in <balm_metricformat.h>

Create a metric format spec having default values for scale and format. The default value for scale is 1.0 and the default value for format is "%f".

MetricFormatSpec();
» more...

Create a metric format spec having the same value as the specified original format spec.

MetricFormatSpec(MetricFormatSpec const& original);
» more...

Create a metric format spec having the specified scale and format.

MetricFormatSpec(
    float scale,
    char const* format);
» more...

Parameters

NameDescription
originalformat spec to copy
scalemultiplier applied when formatting values
formatnull-terminated printf-style format string