BloombergLP::ball::HierarchicalCategorySetting::setLevels

Set the threshold levels of this hierarchical category setting.

Synopsis

Declared in <ball_hierarchicalcategorysetting.h>

int
setLevels(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);

Description

Set the threshold levels of this hierarchical category settings object to the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel values, respectively, if each of the specified values is in the range [0 .. 255]. Return 0 on success, and a non-zero value otherwise (with no effect on the threshold levels of this object).

Return Value

0 on success, and a non-zero value otherwise

Parameters

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