[#BloombergLP-balber-BerDecoderOptions-accessAttribute-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions]::accessAttribute :relfileprefix: ../../../ :mrdocs: Invoke the specified `accessor` on the (non‐modifiable) attribute of this object indicated by the specified `id`, supplying `accessor` with the corresponding attribute information structure. Return the value returned from the invocation of `accessor` if `id` identifies an attribute of this class, and ‐1 otherwise. == Synopsis Declared in `<balber_berdecoderoptions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ACCESSOR> int accessAttribute( ACCESSOR& accessor, int id) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#