[#BloombergLP-balb-Sequence6-manipulateAttribute-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Sequence6.adoc[Sequence6]::manipulateAttribute
:relfileprefix: ../../../
:mrdocs:

`manipulateAttribute` overloads

== Synopses

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

Invoke the specified manipulator on the attribute indicated by `id`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class MANIPULATOR&gt;
int
xref:BloombergLP/balb/Sequence6/manipulateAttribute-01.adoc[manipulateAttribute](
    MANIPULATOR& manipulator,
    int id);
----

[.small]#xref:BloombergLP/balb/Sequence6/manipulateAttribute-01.adoc[_» more&period;&period;&period;_]#

Invoke the specified manipulator on the attribute indicated by `name`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class MANIPULATOR&gt;
int
xref:BloombergLP/balb/Sequence6/manipulateAttribute-04.adoc[manipulateAttribute](
    MANIPULATOR& manipulator,
    char const* name,
    int nameLength);
----

[.small]#xref:BloombergLP/balb/Sequence6/manipulateAttribute-04.adoc[_» more&period;&period;&period;_]#

== Return Value

* value returned from the invocation of `manipulator` if `id` identifies an attribute of this class, and &hyphen;1 otherwise
* value returned from the invocation of `manipulator` if `name` identifies an attribute of this class, and &hyphen;1 otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *manipulator*
| functor invoked on the matching attribute
| *id*
| attribute identifier
| *name*
| attribute name
| *nameLength*
| length of `name`
|===


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