BloombergLP::ball::HierarchicalCategorySetting::HierarchicalCategorySetting

Create a hierarchical category setting with the specified prefix and levels.

Synopsis

Declared in <ball_hierarchicalcategorysetting.h>

HierarchicalCategorySetting(
    std::string_view const& categoryPrefix,
    ThresholdAggregate const& levels,
    allocator_type allocator = allocator_type());

Description

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.

Parameters

NameDescription
categoryPrefixcategory name prefix
levelsthreshold levels aggregate
allocatorallocator used to supply memory