BloombergLP::bdlar::bdlat_sequenceManipulateAttribute

Invoke the specified manipulator on the attribute with attributeId.

Synopsis

Declared in <bdlar_sequenceref.h>

template<class t_MANIPULATOR>
int
bdlat_sequenceManipulateAttribute(
    SequenceRef* ref,
    t_MANIPULATOR& manipulator,
    int attributeId);

Description

Invoke the specified manipulator on the attribute of the specified ref identified by the specified attributeId. Return the value from the invocation of manipulator.

Return Value

value from the invocation of manipulator

Parameters

NameDescription
refsequence reference to manipulate
manipulatorcallable invoked on the attribute
attributeIdid of the attribute