Provide a container for managed attributes.
More...
Namespaces |
namespace | ball |
Detailed Description
- Outline
-
-
- Purpose:
- Provide a container for managed attributes.
-
- Classes:
-
- See also:
- Component ball_managedattribute, Component ball_rule
-
- Description:
- This component implements a value-semantic container class,
ball::ManagedAttributeSet
, that manages a set of ball::ManagedAttribute
objects.
- This component participates in the implementation of "Rule-Based Logging". For more information on how to use that feature, please see the package-level documentation and usage examples for "Rule-Based Logging".
-
- Usage:
- In this section we show intended usage of this component.
-
- Example 1: Basic Properties of ball::ManagedAttributeSet:
- This example shows basic operations on a managed attribute set.
- First, we create an empty attribute set: Then, we add two attributes to the attribute set: Next, we look up (by value) via the
isMember
method: Then, we add duplicated value and observe the status of the operation: Finally, we remove an attribute and check that it is not a member of the attribute set: