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

Invoke the specified `visitor` for all attributes in all attribute containers maintained by this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
visitAttributes(xref:bsl/function-0a.adoc[bsl::function&lt;void(xref:BloombergLP/ball/Attribute.adoc[ball::Attribute] const&)&gt;] const& visitor);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *visitor*
| callable invoked once for each attribute
|===


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