Add a rule having the specified value.

Synopsis

Declared in <ball_loggermanager.h>

int
addRule(Rule const& value);

Description

Add a rule having the specified value to the set of (unique) rules maintained by this object. Return the number of rules added (i.e., 1 on success and 0 if a rule with the same value is already present).

Return Value

number of rules added (1 on success, 0 if already present)

Parameters

Name

Description

value

rule to add to the set of unique rules

Created with MrDocs