[#BloombergLP-balber-BerEncoderOptions-accessAttribute-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions]::accessAttribute
:relfileprefix: ../../../
:mrdocs:

Invoke the specified `accessor` on the attribute indicated by the specified `name` of the specified `nameLength`&period;

== Synopsis

Declared in `&lt;balber&lowbar;berencoderoptions&period;h&gt;`

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


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