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