[#BloombergLP-ball-ScopedAttribute_Container]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::ScopedAttribute&lowbar;Container
:relfileprefix: ../../
:mrdocs:

This component&hyphen;private class is a concrete implementation of the `AttributeContainer` protocol for a single attribute&period;

== Synopsis

Declared in `&lt;ball&lowbar;scopedattribute&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class ScopedAttribute&lowbar;Container
    : public xref:BloombergLP/ball/AttributeContainer.adoc[AttributeContainer]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/ball/AttributeContainer.adoc[AttributeContainer]`
| This class defines a protocol for a container of attribute values&period;
|===

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/ScopedAttribute_Container/allocator_type.adoc[`allocator&lowbar;type`] 
| `allocator&lowbar;type` is an alias for the type of allocator used by this class&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/ScopedAttribute_Container/2constructor-01.adoc[`ScopedAttribute&lowbar;Container`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/ball/ScopedAttribute_Container/2destructor.adoc[`&#126;ScopedAttribute&lowbar;Container`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this object&period;
| xref:BloombergLP/ball/ScopedAttribute_Container/get_allocator.adoc[`get&lowbar;allocator`] 
| Return the allocator used by this object to supply memory&period;
| xref:BloombergLP/ball/ScopedAttribute_Container/hasValue-0c.adoc[`hasValue`] 
| `hasValue` overloads
| xref:BloombergLP/ball/ScopedAttribute_Container/print.adoc[`print`]  [.small]#[virtual]#
| Format this object to the specified output stream&period;
| xref:BloombergLP/ball/ScopedAttribute_Container/visitAttributes-01.adoc[`visitAttributes`] 
| Invoke the specified `visitor` function for all attributes in this container&period;
| xref:BloombergLP/ball/ScopedAttribute_Container/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;ScopedAttribute&lowbar;Container, UsesBslmaAllocator&gt;`] 
| Declare that this type uses a `bslma` allocator&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
