Return whether the specified ref has the selection with the specified selectionId.

Synopsis

Declared in <bdlar_choiceref.h>

bool
bdlat_choiceHasSelection(
    ChoiceRef const& ref,
    int selectionId);

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

Created with MrDocs