Return whether the specified ref has the selection with the specified selectionName and selectionNameLength.
Declared in <bdlar_choiceref.h>
bool
bdlat_choiceHasSelection(
ChoiceRef const& ref,
char const* selectionName,
int selectionNameLength);
true if the selection exists, and false otherwise
| Name | Description |
|---|---|
| ref | choice reference to query |
| selectionName | name of the selection to look up |
| selectionNameLength | length of selectionName |