BloombergLP::balb::Sequence2::manipulateAttribute

Invoke the specified manipulator on the attribute indicated by id.

Synopsis

Declared in <balb_testmessages.h>

template<class MANIPULATOR>
int
manipulateAttribute(
    MANIPULATOR& manipulator,
    int id);

Description

Invoke the specified manipulator on the address of the (modifiable) attribute indicated by the specified id, supplying manipulator with the corresponding attribute information structure. Return the value returned from the invocation of manipulator if id identifies an attribute of this class, and -1 otherwise.

Return Value

value returned from the invocation of manipulator if id identifies an attribute of this class, and -1 otherwise

Parameters

NameDescription
manipulatorfunctor invoked on the matching attribute
idattribute identifier