[#BloombergLP-bdlat_SequenceFunctions-accessAttribute-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_SequenceFunctions.adoc[bdlat_SequenceFunctions]::accessAttribute :relfileprefix: ../../ :mrdocs: Invoke the specified `accessor` on the attribute of the specified `object` with the given `attributeId`, 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_TYPE& attribute, const t_INFO& info); ` Return non‐zero if the attribute is not found, and the value returned from the invocation of `accessor` otherwise. == Synopsis Declared in `<bdlat_sequencefunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ACCESSOR> int accessAttribute( TYPE const& object, ACCESSOR& accessor, int attributeId); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#