bdlat_choiceHasSelection overloads
Synopses
Declared in <bdlat_choicefunctions.h>
Default customization‐point implementation of hasSelection by id.
template<class TYPE>
bool
bdlat_choiceHasSelection(
TYPE const& object,
int selectionId);
Default customization‐point implementation of hasSelection by name.
template<class TYPE>
bool
bdlat_choiceHasSelection(
TYPE const& object,
char const* selectionName,
int selectionNameLength);
Return Value
-
trueifobjecthas the selection, andfalseotherwise -
trueifobjecthas the named selection, andfalseotherwise
Parameters
Name |
Description |
object |
choice object to query |
selectionId |
id of the selection to look up |
selectionName |
name of the selection to look up |
selectionNameLength |
length of |
Created with MrDocs