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.
HierarchicalCategorySetting(bslmf::MovableRef<HierarchicalCategorySetting> original) noexcept;
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.
HierarchicalCategorySetting(
bslmf::MovableRef<HierarchicalCategorySetting> original,
allocator_type const& allocator);
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.
HierarchicalCategorySetting(
HierarchicalCategorySetting const& original,
allocator_type const& allocator = allocator_type());
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.
HierarchicalCategorySetting(
std::string_view const& categoryPrefix,
ThresholdAggregate const& levels,
allocator_type allocator = allocator_type());
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].
HierarchicalCategorySetting(
std::string_view const& categoryPrefix,
int recordLevel,
int passLevel,
int triggerLevel,
int triggerAllLevel,
allocator_type allocator = allocator_type());
Created with MrDocs