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