accessAttribute overloads
Declared in <bdlar_sequenceref.h>
Invoke the specified accessor on the attribute with attributeId.
template<class t_ACCESSOR>
int
accessAttribute(
t_ACCESSOR& accessor,
int attributeId) const;
» more...
Invoke the specified accessor on the named attribute.
template<class t_ACCESSOR>
int
accessAttribute(
t_ACCESSOR& accessor,
char const* attributeName,
int attributeNameLength) const;
» more...
non-zero if not found, otherwise value from accessor
| Name | Description |
|---|---|
| accessor | callable invoked on the attribute |
| attributeId | id of the attribute |
| attributeName | name of the attribute |
| attributeNameLength | length of attributeName |