[#BloombergLP-baljsn-EncoderTestSequenceWithUntagged12Sequence-accessAttribute-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged12Sequence.adoc[EncoderTestSequenceWithUntagged12Sequence]::accessAttribute
:relfileprefix: ../../../
:mrdocs:

Invoke the specified &apos;accessor&apos; on the (non&hyphen;modifiable) attribute of this object indicated by the specified &apos;id&apos;, supplying &apos;accessor&apos; with the corresponding attribute information structure&period; Return the value returned from the invocation of &apos;accessor&apos; if &apos;id&apos; identifies an attribute of this class, and &hyphen;1 otherwise&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
accessAttribute(
    t&lowbar;ACCESSOR& accessor,
    int id) const;
----


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