BloombergLP::ball::CategoryManager::setCategory

setCategory overloads

Synopses

Declared in <ball_categorymanager.h>

Return the category named categoryName, creating it if needed.

Category const*
setCategory(char const* categoryName);
» more...

Return the category named categoryName, creating it if needed.

Category const*
setCategory(
    CategoryHolder* categoryHolder,
    char const* categoryName);
» more...

Add or update a category with the specified name and threshold levels.

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

Return Value

  • address of the category named categoryName, or of the Default Category if none exists
  • address of the (possibly newly-created) category if created or reset, and 0 otherwise

Parameters

NameDescription
categoryNamename of the category to look up or create
categoryHolderoptional holder to load with the category
recordLevelrecord threshold level
passLevelpass threshold level
triggerLeveltrigger threshold level
triggerAllLeveltrigger-all threshold level