manipulateAttribute overloads
Declared in <bdlat_sequencefunctions.h>
Invoke a manipulator on a sequence attribute identified by id.
template<
class TYPE,
class MANIPULATOR>
int
manipulateAttribute(
TYPE* object,
MANIPULATOR& manipulator,
int attributeId);
» more...
Invoke a manipulator on a sequence attribute identified by name.
template<
class TYPE,
class MANIPULATOR>
int
manipulateAttribute(
TYPE* object,
MANIPULATOR& manipulator,
char const* attributeName,
int attributeNameLength);
» more...
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 |
| attributeId | id of the attribute to manipulate |
| attributeName | name of the attribute to manipulate |
| attributeNameLength | length of attributeName |