Return whether the specified ref has the selection with the specified selectionName and selectionNameLength.

Synopsis

Declared in <bdlar_choiceref.h>

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

selectionName

name of the selection to look up

selectionNameLength

length of selectionName

Created with MrDocs