BloombergLP::bdlar::SequenceRef::manipulateAttribute

manipulateAttribute overloads

Synopses

Declared in <bdlar_sequenceref.h>

Invoke the specified manipulator on the attribute with attributeId.

template<class t_MANIPULATOR>
int
manipulateAttribute(
    t_MANIPULATOR& manipulator,
    int attributeId) const;
» more...

Invoke the specified manipulator on the named attribute.

template<class t_MANIPULATOR>
int
manipulateAttribute(
    t_MANIPULATOR& manipulator,
    char const* attributeName,
    int attributeNameLength) const;
» more...

Return Value

non-zero if not found, otherwise value from manipulator

Parameters

NameDescription
manipulatorcallable invoked on the attribute
attributeIdid of the attribute
attributeNamename of the attribute
attributeNameLengthlength of attributeName