[#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. 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. Note that this method can be invoked safely even if the `initialize` class method has not yet been called. == Synopsis Declared in `<ball_attributecontext.h>` [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]#