Invoke the specified manipulator on the attribute with attributeId.
Synopsis
Declared in <bdlar_sequenceref.h>
template<class t_MANIPULATOR>
int
manipulateAttribute(
t_MANIPULATOR& manipulator,
int attributeId) const;
Description
Invoke the specified manipulator on the (modifiable) attribute indicated by the specified attributeId, supplying manipulator with the corresponding attribute information structure. The supplied manipulator must be a callable type that can be called as if it had the following signature: ` template <class t_INFO> int manipulator(ATTRIBUTE *refOrValue, const t_INFO& info); ` Return non‐zero value if the attribute is not found, and the value returned from the invocation of manipulator otherwise.
Return Value
non‐zero if not found, otherwise value from manipulator
Parameters
Name |
Description |
manipulator |
callable invoked on the attribute |
attributeId |
id of the attribute |
Created with MrDocs