bdlat_sequenceManipulateAttribute overloads

Synopses

Declared in <bdlat_sequencefunctions.h>

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

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

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

template<
    class TYPE,
    class MANIPULATOR>
int
bdlat_sequenceManipulateAttribute(
    TYPE* object,
    MANIPULATOR& manipulator,
    char const* attributeName,
    int attributeNameLength);

Return Value

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

Parameters

Name

Description

object

sequence whose attribute is manipulated

manipulator

callable invoked with the attribute and its info

attributeId

id of the attribute to manipulate

attributeName

name of the attribute to manipulate

attributeNameLength

length of attributeName

Created with MrDocs