[#BloombergLP-balb-Request-accessSelection] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Request.adoc[Request]::accessSelection :relfileprefix: ../../../ :mrdocs: Invoke the specified `accessor` on the non‐modifiable selection, supplying `accessor` with the corresponding selection information structure. == Synopsis Declared in `<balb_testmessages.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ACCESSOR> int accessSelection(ACCESSOR& accessor) const; ---- == Description Return the value returned from the invocation of `accessor` if this object has a defined selection, and ‐1 otherwise. == Return Value value returned from the invocation of `accessor` if this object has a defined selection, and ‐1 otherwise == Parameters [cols="1,4"] |=== | Name| Description | *accessor* | functor invoked on the current selection |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#