BloombergLP::ball::Rule::Rule

Constructors

Synopses

Declared in <ball_rule.h>

Create a Rule object whose pattern is an empty string and whose thresholds levels are all 0.

explicit
Rule(bslma::Allocator* basicAllocator = 0);
» more...

Create a Rule object that has the same value as that of the specified original object.

Rule(
    Rule const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a Rule with the specified pattern and threshold levels.

Rule(
    std::string_view const& pattern,
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default
originalrule to copy
patterncategory-name pattern for this rule
recordLevelrecord threshold level
passLevelpass threshold level
triggerLeveltrigger threshold level
triggerAllLeveltrigger-all threshold level