[#BloombergLP-bdlar-bdlat_sequenceManipulateAttribute-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat&lowbar;sequenceManipulateAttribute
:relfileprefix: ../../
:mrdocs:

Invoke the specified `manipulator` on the named attribute of `ref`&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;sequenceref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;MANIPULATOR&gt;
int
bdlat&lowbar;sequenceManipulateAttribute(
    xref:BloombergLP/bdlar/SequenceRef.adoc[SequenceRef]* ref,
    t&lowbar;MANIPULATOR& manipulator,
    char const* attributeName,
    int attributeNameLength);
----

== Description

Invoke the specified `manipulator` on the attribute of the specified `ref` identified by the specified `attributeName` and `attributeNameLength`&period; Return the value from the invocation of `manipulator`&period;

== Return Value

value from the invocation of `manipulator`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ref*
| sequence reference to manipulate
| *manipulator*
| callable invoked on the attribute
| *attributeName*
| name of the attribute
| *attributeNameLength*
| length of `attributeName`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
