BloombergLP::ball::ScopedAttribute_Container

This component-private class is a concrete implementation of the AttributeContainer protocol for a single attribute.

Synopsis

Declared in <ball_scopedattribute.h>

class ScopedAttribute_Container
    : public AttributeContainer

Base Classes

NameDescription
AttributeContainerThis class defines a protocol for a container of attribute values. The attribute container provides a hasValue() method to determine whether an attribute value is in the container.

Type Aliases

NameDescription
allocator_type allocator_type is an alias for the type of allocator used by this class.

Member Functions

NameDescription
ScopedAttribute_Container [constructor]Constructors
~ScopedAttribute_Container [destructor] [virtual]Destroy this object.
get_allocator Return the allocator used by this object to supply memory. Note that if no allocator was supplied at construction the default allocator in effect at construction is used.
hasValue hasValue overloads
print [virtual]Format this object to the specified output stream at the (absolute value of) the optionally specified indentation level and return a reference to stream. If level is specified, optionally specify spacesPerLevel, the number of spaces per indentation level for this and all of its nested objects. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by level). If stream is not valid on entry, this operation has no effect.
visitAttributes Invoke the specified visitor function for all attributes in this container.
operator BloombergLP::bslmf::NestedTraitDeclaration<ScopedAttribute_Container, UsesBslmaAllocator> Declare that this type uses a bslma allocator.