[#BloombergLP-baljsn-EncoderOptions-accessAttributes]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderOptions.adoc[EncoderOptions]::accessAttributes
:relfileprefix: ../../../
:mrdocs:

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;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoderoptions&period;h&gt;`

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


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