BloombergLP::ball::Rule::addPredicate

Add an attribute having the specified value to this object. Return 1 on success and 0 if an attribute having the same value already exists in this object.

Synopsis

Declared in <ball_rule.h>

int
addPredicate(ManagedAttribute const& value);

Description

DEPRECATED: Use addAttribute instead.

Return Value

1 on success, and 0 if value already exists

Parameters

NameDescription
valueattribute to add