[#BloombergLP-bdlar-SequenceConstRef-accessAttribute-067] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SequenceConstRef.adoc[SequenceConstRef]::accessAttribute :relfileprefix: ../../../ :mrdocs: Invoke the specified `accessor` on the (non‐modifiable) attribute of the referred sequence object indicated by the specified `attributeName` and `attributeNameLength`, supplying `accessor` with the corresponding attribute information structure. The supplied `accessor` must be a callable type that can be called as if it had the following signature: ` template <class t_INFO> int accessor(const ATTRIBUTE& refOrValue, const t_INFO& info); ` Return non‐zero value if the attribute is not found, and the value returned from the invocation of `accessor` otherwise. == Synopsis Declared in `<bdlar_sequenceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int accessAttribute( t_ACCESSOR& accessor, char const* attributeName, int attributeNameLength) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#