BloombergLP::ball::ThresholdAggregate::areValidThresholdLevels

Return true if each of the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel threshold values is in the range [0 .. 255], and false otherwise.

Synopsis

Declared in <ball_thresholdaggregate.h>

static
bool
areValidThresholdLevels(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);

Return Value

true if each level is in [0 .. 255], and false otherwise

Parameters

NameDescription
recordLevelrecord threshold level
passLevelpass threshold level
triggerLeveltrigger threshold level
triggerAllLeveltrigger-all threshold level