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

`accessAttribute` overloads

== Synopses

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

Invoke the specified `accessor` on the attribute indicated by the specified `id`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename t&lowbar;ACCESSOR&gt;
int
xref:BloombergLP/balber/BerEncoderOptions/accessAttribute-0f.adoc[accessAttribute](
    t&lowbar;ACCESSOR& accessor,
    int id) const;
----

[.small]#xref:BloombergLP/balber/BerEncoderOptions/accessAttribute-0f.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename t&lowbar;ACCESSOR&gt;
int
xref:BloombergLP/balber/BerEncoderOptions/accessAttribute-02.adoc[accessAttribute](
    t&lowbar;ACCESSOR& accessor,
    char const* name,
    int nameLength) const;
----

[.small]#xref:BloombergLP/balber/BerEncoderOptions/accessAttribute-02.adoc[_» more&period;&period;&period;_]#


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