Return true if the specified ref has the selection identified by the specified selectionId, and false otherwise.

Synopsis

Declared in <bdlar_choiceref.h>

bool
bdlat_choiceHasSelection(
    ChoiceConstRef 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