[#BloombergLP-ball-AttributeContext-addAttributes]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AttributeContext.adoc[AttributeContext]::addAttributes
:relfileprefix: ../../../
:mrdocs:

Add the specified `attributes` container to the list of attribute containers maintained by this object&period; The behavior is undefined unless `attributes` remains valid _and_ _unmodified_ until either `attributes` is removed from this context, `clearCache` is called, or this object is destroyed&period; Note that this method can be invoked safely even if the `initialize` class method has not yet been called&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/AttributeContext/iterator.adoc[AttributeContext::iterator]
addAttributes(xref:BloombergLP/ball/AttributeContainer.adoc[AttributeContainer] const* attributes);
----


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