[#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 `&lt;ball&lowbar;hierarchicalcategorysetting&period;h&gt;`

Create a hierarchical category setting by moving from `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0f.adoc[HierarchicalCategorySetting](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;HierarchicalCategorySetting&gt;] original) noexcept;
----

[.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0f.adoc[_» more&period;&period;&period;_]#

Create a hierarchical category setting by moving from `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-00.adoc[HierarchicalCategorySetting](
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;HierarchicalCategorySetting&gt;] original,
    xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

[.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-00.adoc[_» more&period;&period;&period;_]#

Create a hierarchical category setting having the value of `original`&period;


[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&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-06.adoc[_» more&period;&period;&period;_]#

Create a hierarchical category setting with the specified prefix and levels&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0d.adoc[HierarchicalCategorySetting](
    std::string&lowbar;view const& categoryPrefix,
    xref:BloombergLP/ball/ThresholdAggregate.adoc[ThresholdAggregate] const& levels,
    xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[allocator&lowbar;type] allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Create a hierarchical category setting with the specified prefix and levels&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-04.adoc[HierarchicalCategorySetting](
    std::string&lowbar;view const& categoryPrefix,
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel,
    xref:BloombergLP/ball/HierarchicalCategorySetting/allocator_type.adoc[allocator&lowbar;type] allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/ball/HierarchicalCategorySetting/2constructor-04.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| setting to move from
| *allocator*
| allocator used to supply memory
| *categoryPrefix*
| category name prefix
| *levels*
| threshold levels aggregate
| *recordLevel*
| record threshold level
| *passLevel*
| pass threshold level
| *triggerLevel*
| trigger threshold level
| *triggerAllLevel*
| trigger&hyphen;all threshold level
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
