This class provides a container to hold the name and threshold levels of a category. Instances of Category are created and manipulated by CategoryManager. All threshold levels are integral values in the range [0 .. 255].
Synopsis
Declared in <ball_category.h>
class Category;
Description
Implementation Note: The d_ruleThreshold and d_relevantRuleMask serve as a cache for logging rule evaluation (see ball_attributecontext). They are not meant to be modified by users of the logging system, and may be modified by const operations of the logging system.
Member Functions
Name |
Description |
|
Create a category having the specified |
Return the name of this category. |
|
Return |
|
Return the numerical maximum of the four levels of this category. |
|
Return the pass level of this category. |
|
Return the record level of this category. |
|
Return a reference to the non‐modifiable relevant rule mask for this category. The returned |
|
Return the current maximum threshold (i.e., the lowest severity) for any logging rule associated with this category. Note that the rule having this threshold may not be active given the current thread's logging context (see |
|
Set the threshold levels of this category to the specified |
|
Return the current maximum threshold (i.e., the lowest severity) between the |
|
Return the aggregate threshold levels of this category. |
|
Return the trigger‐all level of this category. |
|
Return the trigger level of this category. |
|
|
Declare that this type uses a |
Static Member Functions
Name |
Description |
Return |
Friends
Name |
Description |
This class provides a suite of free functions used to help implement a manager of categories and category holders. |
Created with MrDocs