Invoke the specified manipulator on the current selection.
Synopsis
Declared in <bdlar_choiceref.h>
template<typename t_MANIPULATOR>
int
manipulateSelection(t_MANIPULATOR& manipulator) const;
Description
Invoke the specified manipulator on the address of the (modifiable) selection, supplying manipulator with the corresponding selection 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(SELECTION *refOrValue, const t_INFO& info); ` Return the value returned from the invocation of manipulator. The behavior is undefined unless selectionId() != ‐1.
Return Value
value from the invocation of manipulator
Parameters
Name |
Description |
manipulator |
callable invoked on the current selection |
Created with MrDocs