BloombergLP::bdlat_SequenceFunctions::bdlat_sequenceManipulateAttribute

Manipulate the attribute with the specified attributeId of the specified object.

Synopsis

Declared in <bdlat_sequencefunctions.h>

template<
    class TYPE,
    class MANIPULATOR>
int
bdlat_sequenceManipulateAttribute(
    TYPE* object,
    MANIPULATOR& manipulator,
    int attributeId);

Return Value

non-zero if the attribute is not found, and the value from manipulator otherwise

Parameters

NameDescription
objectsequence whose attribute is manipulated
manipulatorcallable invoked with the attribute and its info
attributeIdid of the attribute to manipulate