Invoke the specified manipulator on each attribute until non‐zero.
Synopsis
Declared in <bdlar_sequenceref.h>
template<class t_MANIPULATOR>
int
manipulateAttributes(t_MANIPULATOR& manipulator) const;
Description
Invoke the specified manipulator sequentially on each (modifiable) attribute, supplying manipulator with the corresponding attribute information structure until such invocation returns non‐zero value. 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 the value from the last invocation of manipulator (i.e., the invocation that terminated the sequence).
Return Value
value from the last invocation of manipulator
Parameters
Name |
Description |
manipulator |
callable invoked on each attribute |
Created with MrDocs