BloombergLP::ball::Category::areValidThresholdLevels

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

Synopsis

Declared in <ball_category.h>

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

Return Value

true if all threshold values are in [0 .. 255], and false otherwise

Parameters

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