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

Invoke the specified &apos;accessor&apos; sequentially on each (non&hyphen;modifiable) attribute of this object, supplying &apos;accessor&apos; with the corresponding attribute&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoder&lowbar;testtypes&period;h&gt;`

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

== Description

information structure until such invocation returns a non&hyphen;zero value&period; Return the value from the last invocation of &apos;accessor&apos; (i&period;e&period;, the invocation that terminated the sequence)&period;

== Return Value

the value returned from the invocation of `accessor`, or a non&hyphen;zero value on failure

== Parameters

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


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