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,
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel,
    allocator_type allocator = allocator_type());

Description

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].

Parameters

NameDescription
categoryPrefixcategory name prefix
recordLevelrecord threshold level
passLevelpass threshold level
triggerLeveltrigger threshold level
triggerAllLeveltrigger-all threshold level
allocatorallocator used to supply memory