[#BloombergLP-balb-SequenceWithAnonymity-accessAttribute-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/SequenceWithAnonymity.adoc[SequenceWithAnonymity]::accessAttribute :relfileprefix: ../../../ :mrdocs: `accessAttribute` overloads == Synopses Declared in `<balb_testmessages.h>` 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ACCESSOR> int xref:BloombergLP/balb/SequenceWithAnonymity/accessAttribute-0c.adoc[accessAttribute]( ACCESSOR& accessor, int id) const; ---- [.small]#xref:BloombergLP/balb/SequenceWithAnonymity/accessAttribute-0c.adoc[_» more..._]# Invoke the specified `accessor` on the (non‐modifiable) attribute of this object indicated by the specified `name` of the specified `nameLength`, supplying `accessor` with the corresponding attribute information structure. Return the value returned from the invocation of `accessor` if `name` identifies an attribute of this class, and ‐1 otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ACCESSOR> int xref:BloombergLP/balb/SequenceWithAnonymity/accessAttribute-0d.adoc[accessAttribute]( ACCESSOR& accessor, char const* name, int nameLength) const; ---- [.small]#xref:BloombergLP/balb/SequenceWithAnonymity/accessAttribute-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#