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