Manipulate the attribute with the specified attributeName of the specified object.
Declared in <bdlat_sequencefunctions.h>
template<
class TYPE,
class MANIPULATOR>
int
bdlat_sequenceManipulateAttribute(
TYPE* object,
MANIPULATOR& manipulator,
char const* attributeName,
int attributeNameLength);
These default implementations assume the type of the acted-upon object is a basic-sequence type. For more information about basic-sequence types, see bdlat_typetraits.
non-zero if the attribute is not found, and the value from manipulator otherwise
| Name | Description |
|---|---|
| object | sequence whose attribute is manipulated |
| manipulator | callable invoked with the attribute and its info |
| attributeName | name of the attribute to manipulate |
| attributeNameLength | length of attributeName |