[#BloombergLP-bdlat_SequenceFunctions-bdlat_sequenceAccessAttribute-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_SequenceFunctions.adoc[bdlat_SequenceFunctions]::bdlat_sequenceAccessAttribute :relfileprefix: ../../ :mrdocs: `bdlat_sequenceAccessAttribute` overloads == Synopses Declared in `<bdlat_sequencefunctions.h>` Default customization‐point implementation of `accessAttribute` by id. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ACCESSOR> int xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceAccessAttribute-03.adoc[bdlat_sequenceAccessAttribute]( TYPE const& object, ACCESSOR& accessor, int attributeId); ---- [.small]#xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceAccessAttribute-03.adoc[_» more..._]# Default customization‐point implementation of `accessAttribute` by name. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ACCESSOR> int xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceAccessAttribute-0b.adoc[bdlat_sequenceAccessAttribute]( TYPE const& object, ACCESSOR& accessor, char const* attributeName, int attributeNameLength); ---- [.small]#xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceAccessAttribute-0b.adoc[_» more..._]# == Return Value non‐zero if the attribute is not found, and the value from `accessor` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *object* | sequence whose attribute is accessed | *accessor* | callable invoked with the attribute and its info | *attributeId* | id of the attribute to access | *attributeName* | name of the attribute to access | *attributeNameLength* | length of `attributeName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#