[#BloombergLP-bdlar-SequenceRef-accessAttribute-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SequenceRef.adoc[SequenceRef]::accessAttribute :relfileprefix: ../../../ :mrdocs: `accessAttribute` overloads == Synopses Declared in `<bdlar_sequenceref.h>` Invoke the specified `accessor` on the attribute with `attributeId`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int xref:BloombergLP/bdlar/SequenceRef/accessAttribute-08.adoc[accessAttribute]( t_ACCESSOR& accessor, int attributeId) const; ---- [.small]#xref:BloombergLP/bdlar/SequenceRef/accessAttribute-08.adoc[_» more..._]# Invoke the specified `accessor` on the named attribute. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int xref:BloombergLP/bdlar/SequenceRef/accessAttribute-09.adoc[accessAttribute]( t_ACCESSOR& accessor, char const* attributeName, int attributeNameLength) const; ---- [.small]#xref:BloombergLP/bdlar/SequenceRef/accessAttribute-09.adoc[_» more..._]# == Return Value non‐zero if not found, otherwise value from `accessor` == Parameters [cols="1,4"] |=== | Name| Description | *accessor* | callable invoked on the attribute | *attributeId* | id of the attribute | *attributeName* | name of the attribute | *attributeNameLength* | length of `attributeName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#