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;

Invoke the specified manipulator on the named attribute.

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

Return Value

non‐zero if not found, otherwise value from manipulator

Parameters

Name

Description

manipulator

callable invoked on the attribute

attributeId

id of the attribute

attributeName

name of the attribute

attributeNameLength

length of attributeName

Created with MrDocs