Invoke the specified accessor on the named attribute of ref.
Declared in <bdlar_sequenceref.h>
template<class t_ACCESSOR>
int
bdlat_sequenceAccessAttribute(
SequenceRef const& ref,
t_ACCESSOR& accessor,
char const* attributeName,
int attributeNameLength);
Invoke the specified accessor on the attribute of the specified ref identified by the specified attributeName and attributeNameLength. Return the value from the invocation of accessor.
value from the invocation of accessor
| Name | Description |
|---|---|
| ref | sequence reference to access |
| accessor | callable invoked on the attribute |
| attributeName | name of the attribute |
| attributeNameLength | length of attributeName |