|
BDE 4.14.0 Production release
|
#include <ball_category.h>
Static Public Member Functions | |
| static void | linkCategoryHolder (Category *category, CategoryHolder *categoryHolder) |
| static void | resetCategoryHolders (Category *category) |
| static void | updateThresholdForHolders (Category *category) |
| static void | setRuleThreshold (Category *category, int ruleThreshold) |
| static void | enableRule (Category *category, int ruleIndex) |
| static void | disableRule (Category *category, int ruleIndex) |
| static void | setRelevantRuleMask (Category *category, RuleSet::MaskType mask) |
This class provides a suite of free functions used to help implement a manager of categories and category holders.
This class should not be used directly by client code. It is an implementation detail of the ball logging system.
See ball_category
|
inlinestatic |
Set the bit in the rule-mask at the specified ruleIndex in the specified category to false.
|
inlinestatic |
Set the bit in the relevant rule-mask at the specified ruleIndex in the specified category to true.
|
inlinestatic |
Load the specified category and its corresponding maxLevel() into the specified categoryHolder, and add categoryHolder to the linked list of category holders maintained by category.
|
inlinestatic |
Reset the category holders to which the specified category is linked to their default value. See the function-level documentation of CategoryHolder::reset for further information on the default value of category holders.
|
inlinestatic |
Set the rule-mask for the specified category to the specified mask.
|
inlinestatic |
Set the cached rule threshold for the specified category to the specified ruleThreshold.
|
inlinestatic |
Update the threshold of all category holders that hold the address of the specified category object to the maximum of d_threshold and d_ruleThreshold.