[#BloombergLP-ball-HierarchicalCategorySetting-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/HierarchicalCategorySetting.adoc[HierarchicalCategorySetting]::HierarchicalCategorySetting :relfileprefix: ../../../ :mrdocs: Create a hierarchical category setting object having the specified `categoryPrefix` and threshold levels from the specified `levels`. Optionally specify an `allocator` used to supply memory; otherwise, the default allocator is used. == Synopsis Declared in `<ball_hierarchicalcategorysetting.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- HierarchicalCategorySetting( std::string_view const& categoryPrefix, xref:BloombergLP/ball/ThresholdAggregate.adoc[ThresholdAggregate] const& levels, xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[allocator_type] allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#