Return the id of the current selection if the selection is defined, and ‐1 otherwise.
Synopses
Declared in <bdlar_choiceref.h>
Return the id of the current selection if the selection is defined, and ‐1 otherwise.
int
bdlat_choiceSelectionId(ChoiceConstRef const& ref);
Return the id of the current selection if the selection is defined, and ‐1 otherwise.
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