Return true if the specified ref has the selection identified by the specified selectionName of the specified selectionNameLength, and false otherwise.
Declared in <bdlar_choiceref.h>
bool
bdlat_choiceHasSelection(
ChoiceConstRef 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 |