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

Invoke the specified `visitor` function for all attributes in this container&period;

== Synopses

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

Invoke the specified `visitor` function for all attributes in this container&period;


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

[.small]#xref:BloombergLP/ball/ScopedAttribute_Container/visitAttributes-07.adoc[_» more&period;&period;&period;_]#

Invoke the specified `visitor` function for all attributes in this container&period;


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

[.small]#xref:BloombergLP/ball/AttributeContainer/visitAttributes.adoc[_» more&period;&period;&period;_]#

== Parameters

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


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