BloombergLP::ball::RuleSet::removeRule

Remove the rule having the specified value from this rule set.

Synopsis

Declared in <ball_ruleset.h>

int
removeRule(Rule const& value);

Description

Return the number of rules removed (i.e., 1 on success and 0 if there is no such a rule).

Return Value

1 on success, or 0 if no such rule exists

Parameters

NameDescription
valuerule to remove