[#BloombergLP-ball-HierarchicalCategorySetting-2constructor-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/HierarchicalCategorySetting.adoc[HierarchicalCategorySetting]::HierarchicalCategorySetting :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<ball_hierarchicalcategorysetting.h>` Create a hierarchical category setting object having the same value as the specified `original` object, and adopting all outstanding memory allocations and the allocator associated with the `original` object. `original` is left in a valid but unspecified state. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0f.adoc[HierarchicalCategorySetting](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<HierarchicalCategorySetting>] original) noexcept; ---- [.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0f.adoc[_» more..._]# Create a hierarchical category setting object having the same value as the specified `original` object. The value of `original` is moved to the new object, and all outstanding memory allocations and the specified `allocator` are adopted if `allocator == original.get_allocator()`. `original` is left in a valid but unspecified state. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-00.adoc[HierarchicalCategorySetting]( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<HierarchicalCategorySetting>] original, xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-00.adoc[_» more..._]# Create a hierarchical category setting object initialized to the value of the specified `original` object. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-06.adoc[HierarchicalCategorySetting]( xref:BloombergLP/ball/HierarchicalCategorySetting.adoc[HierarchicalCategorySetting] const& original, xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-06.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0d.adoc[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]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0d.adoc[_» more..._]# Create a hierarchical category setting object having the specified `categoryPrefix` and the specified `recordLevel`, `passLevel`, `triggerLevel`, and `triggerAllLevel` threshold values, respectively. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The behavior is undefined unless each of the specified threshold levels is in the range `[0 .. 255]`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-04.adoc[HierarchicalCategorySetting]( std::string_view const& categoryPrefix, int recordLevel, int passLevel, int triggerLevel, int triggerAllLevel, xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[allocator_type] allocator = allocator_type()); ---- [.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#