bdlat_choiceHasSelection overloads
Synopses
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);
Return whether the specified ref has the selection with the specified selectionId.
bool
bdlat_choiceHasSelection(
ChoiceRef const& ref,
int selectionId);
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);
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);
Return Value
true if the selection exists, and false otherwise
Parameters
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 |
Created with MrDocs