[#BloombergLP-balb-Sequence4-accessAttributes]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Sequence4.adoc[Sequence4]::accessAttributes
:relfileprefix: ../../../
:mrdocs:

Invoke the specified accessor on each non&hyphen;modifiable attribute&period;

== Synopsis

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ACCESSOR&gt;
int
accessAttributes(ACCESSOR& accessor) const;
----

== Description

Invoke the specified `accessor` sequentially on each (non&hyphen;modifiable) attribute of this object, supplying `accessor` with the corresponding attribute information structure until such invocation returns a non&hyphen;zero value&period; Return the value from the last invocation of `accessor` (i&period;e&period;, the invocation that terminated the sequence)&period;

== Return Value

value from the last invocation of `accessor`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *accessor*
| functor invoked on each attribute
|===


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