This class provides a suite of free functions used to help implement a manager of categories and category holders.
Declared in <ball_category.h>
class CategoryManagerImpUtil;
This class should not be used directly by client code. It is an implementation detail of the ball logging system.
| Name | Description |
|---|---|
disableRule | Set the bit in the rule-mask at the specified ruleIndex in the specified category to false. |
enableRule | Set the bit in the relevant rule-mask at the specified ruleIndex in the specified category to true. |
linkCategoryHolder | 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. |
resetCategoryHolders | 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. |
setRelevantRuleMask | Set the rule-mask for the specified category to the specified mask. |
setRuleThreshold | Set the cached rule threshold for the specified category to the specified ruleThreshold. |
updateThresholdForHolders | 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. |