BloombergLP::ball::CategoryManager::addCategory

Add a category with the specified name and threshold levels.

Synopses

Declared in <ball_categorymanager.h>

Add a category with the specified name and threshold levels.

Category*
addCategory(
    char const* categoryName,
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
» more...

Add a category with the specified name and threshold levels.

Category*
addCategory(
    CategoryHolder* categoryHolder,
    char const* categoryName,
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
» more...

Return Value

address of the newly-created category on success, and 0 otherwise

Parameters

NameDescription
categoryNamename of the category to add
recordLevelrecord threshold level for the new category
passLevelpass threshold level for the new category
triggerLeveltrigger threshold level for the new category
triggerAllLeveltrigger-all threshold level for the new category
categoryHolderoptional holder to load with the category