[#BloombergLP-ball-HierarchicalCategorySetting] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::HierarchicalCategorySetting :relfileprefix: ../../ :mrdocs: This class provides a container for a name prefix and associated thresholds. == Synopsis Declared in `<ball_hierarchicalcategorysetting.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class HierarchicalCategorySetting; ---- == Description This class represents a hierarchical category setting that consists of a category name prefix and 4 threshold level settings for categories whose name starts with that prefix. Instances of `HierarchicalCategorySetting` are created and manipulated by `LoggerManager`. All threshold levels are integral values in the range `[0 .. 255]`. == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[`allocator_type`] | This `typedef` is an alias for the allocator used by this object. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-03.adoc[`HierarchicalCategorySetting`] [.small]#[constructor]# | Constructors | xref:BloombergLP/ball/HierarchicalCategorySetting/operator_assign-00.adoc[`operator=`] | Assignment operators | xref:BloombergLP/ball/HierarchicalCategorySetting/categoryPrefix.adoc[`categoryPrefix`] | Return the name prefix of this hierarchical category setting. | xref:BloombergLP/ball/HierarchicalCategorySetting/get_allocator.adoc[`get_allocator`] | Return the allocator used by this object to supply memory. | xref:BloombergLP/ball/HierarchicalCategorySetting/passLevel.adoc[`passLevel`] | Return the pass level of this hierarchical category setting. | xref:BloombergLP/ball/HierarchicalCategorySetting/print.adoc[`print`] | Format this object to the specified output `stream`. | xref:BloombergLP/ball/HierarchicalCategorySetting/recordLevel.adoc[`recordLevel`] | Return the record level of this hierarchical category setting. | xref:BloombergLP/ball/HierarchicalCategorySetting/setLevels.adoc[`setLevels`] | Set the threshold levels of this hierarchical category setting. | xref:BloombergLP/ball/HierarchicalCategorySetting/triggerAllLevel.adoc[`triggerAllLevel`] | Return the trigger‐all level of this hierarchical category setting. | xref:BloombergLP/ball/HierarchicalCategorySetting/triggerLevel.adoc[`triggerLevel`] | Return the trigger level of this hierarchical category setting. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/ball/operator_not_eq-0a2.adoc[BloombergLP::ball::operator!=]` | Return whether two hierarchical category settings have different values. | `xref:BloombergLP/ball/operator_eq-0f00.adoc[BloombergLP::ball::operator==]` | Return whether two hierarchical category settings have the same value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#