Add each rule in ruleSet to the unique rule set of this object.

Synopsis

Declared in <ball_categorymanager.h>

int
addRules(RuleSet const& ruleSet);

Description

Add each rule in the specified ruleSet to the set of (unique) rules maintained by this object. Return the number of rules added. The behavior is undefined unless a lock is not held by this thread on the mutex returned by rulesetMutex. Note that each rule having the same value as an existing rule will be ignored.

Return Value

number of rules added

Parameters

Name

Description

ruleSet

rule set whose rules are to be added

Created with MrDocs