BloombergLP::ball::RuleSet::ruleId

Return the id of the rule having the specified value if such a rule exists, and a negative value otherwise. Note that if there are multiple rules having value, the id of the first one found will be returned and the order in which rules are searched is implementation dependent.

Synopsis

Declared in <ball_ruleset.h>

int
ruleId(Rule const& value) const;