BloombergLP::ball::RuleSet::addRules

Add each rule in the specified rules to this rule set. Return the number of rules added. Note that a rule in rules will be ignored if there is an existing rule having the same value or if the number of rules in the set has reached the upper limit. Also note that if not all valid rules will fit, the (possibly empty) subset of unique values that will be added is implementation dependent.

Synopsis

Declared in <ball_ruleset.h>

int
addRules(RuleSet const& rules);