This class provides a container for a category name and threshold levels.
Synopsis
Declared in <ball_category.h>
class Category;
Description
Instances of Category are created and manipulated by CategoryManager. All threshold levels are integral values in the range [0 .. 255].
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 name and threshold levels. |
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. |
|
Return the maximum threshold for any rule associated with this category. |
|
Set the threshold levels of this category if they are valid. |
|
Return the current maximum threshold among this category's levels. |
|
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