[#BloombergLP-ball-CategoryManagerImpUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::CategoryManagerImpUtil :relfileprefix: ../../ :mrdocs: This class provides a suite of free functions used to help implement a manager of categories and category holders. == Synopsis Declared in `<ball_category.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CategoryManagerImpUtil; ---- == Description This class should _not_ be used directly by client code. It is an implementation detail of the `ball` logging system. == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/CategoryManagerImpUtil/disableRule.adoc[`disableRule`] | Set the bit in the rule‐mask at the specified `ruleIndex` in the specified `category` to `false`. | xref:BloombergLP/ball/CategoryManagerImpUtil/enableRule.adoc[`enableRule`] | Set the bit in the relevant rule‐mask at the specified `ruleIndex` in the specified `category` to `true`. | xref:BloombergLP/ball/CategoryManagerImpUtil/linkCategoryHolder.adoc[`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`. | xref:BloombergLP/ball/CategoryManagerImpUtil/resetCategoryHolders.adoc[`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. | xref:BloombergLP/ball/CategoryManagerImpUtil/setRelevantRuleMask.adoc[`setRelevantRuleMask`] | Set the rule‐mask for the specified `category` to the specified `mask`. | xref:BloombergLP/ball/CategoryManagerImpUtil/setRuleThreshold.adoc[`setRuleThreshold`] | Set the cached rule threshold for the specified `category` to the specified `ruleThreshold`. | xref:BloombergLP/ball/CategoryManagerImpUtil/updateThresholdForHolders.adoc[`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`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#