BloombergLP::bdlar::bdlat_sequenceManipulateAttribute

Invoke the specified manipulator on the named attribute of ref.

Synopsis

Declared in <bdlar_sequenceref.h>

template<class t_MANIPULATOR>
int
bdlat_sequenceManipulateAttribute(
    SequenceRef* ref,
    t_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. 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
attributeNamename of the attribute
attributeNameLengthlength of attributeName