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);

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

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

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);

Parameters

Name

Description

basicAllocator

memory allocator; null uses the default

original

rule to copy

pattern

category‐name pattern for this rule

recordLevel

record threshold level

passLevel

pass threshold level

triggerLevel

trigger threshold level

triggerAllLevel

trigger‐all threshold level

Created with MrDocs