BloombergLP::bdlar::ChoiceConstRef::hasSelection

hasSelection overloads

Synopses

Declared in <bdlar_choiceref.h>

Return true if the object has a selection with the specified selectionId, and false otherwise.

bool
hasSelection(int selectionId) const;
» more...

Return true if the object has a selection with the specified selectionName of the specified selectionNameLength, and false otherwise.

bool
hasSelection(
    char const* selectionName,
    int selectionNameLength) const;
» more...