BloombergLP::bdlar::bdlat_sequenceAccessAttribute

bdlat_sequenceAccessAttribute overloads

Synopses

Declared in <bdlar_sequenceref.h>

Invoke the specified accessor on the attribute of the specified ref identified by the specified attributeId. Return the value from the invocation of accessor.

template<class t_ACCESSOR>
int
bdlat_sequenceAccessAttribute(
    SequenceConstRef const& ref,
    t_ACCESSOR& accessor,
    int attributeId);
» more...

Invoke the specified accessor on the attribute of the specified ref identified by the specified attributeId. Return the value from the invocation of accessor.

template<class t_ACCESSOR>
int
bdlat_sequenceAccessAttribute(
    SequenceRef const& ref,
    t_ACCESSOR& accessor,
    int attributeId);
» more...

Invoke the specified accessor on the named attribute of ref.

template<class t_ACCESSOR>
int
bdlat_sequenceAccessAttribute(
    SequenceConstRef const& ref,
    t_ACCESSOR& accessor,
    char const* attributeName,
    int attributeNameLength);
» more...

Invoke the specified accessor on the named attribute of ref.

template<class t_ACCESSOR>
int
bdlat_sequenceAccessAttribute(
    SequenceRef const& ref,
    t_ACCESSOR& accessor,
    char const* attributeName,
    int attributeNameLength);
» more...

Return Value

value from the invocation of accessor

Parameters

NameDescription
refsequence reference to access
accessorcallable invoked on the attribute
attributeIdid of the attribute
attributeNamename of the attribute
attributeNameLengthlength of attributeName