BloombergLP::ball::AttributeContainer

This class defines a protocol for a container of attribute values.

Synopsis

Declared in <ball_attributecontainer.h>

class AttributeContainer;

Description

The attribute container provides a hasValue() method to determine whether an attribute value is in the container.

Member Functions

NameDescription
~AttributeContainer [destructor] [virtual]Destroy this object.
hasValue [virtual]Return true if a attribute having the specified value exists in this object, and false otherwise.
print [virtual]Format this object to the specified output stream.
visitAttributes [virtual]Invoke the specified visitor function for all attributes in this container.

Derived Classes

NameDescription
DefaultAttributeContainer A DefaultAttributeContainer object contains a collection of (unique) attributes values.
ScopedAttribute_Container This component-private class is a concrete implementation of the AttributeContainer protocol for a single attribute.