Return the id of the current selection if the selection is defined, and ‐1 otherwise.
Synopsis
Declared in <bdlar_choiceref.h>
int
bdlat_choiceSelectionId(ChoiceRef const& ref);
Return Value
id of the current selection, or ‐1 if undefined
Parameters
Name |
Description |
ref |
choice reference to query |
Created with MrDocs