BloombergLP::bdlar::bdlat_choiceMakeSelection

Make the selection identified by the specified selectionName of the specified selectionNameLength in the specified ref.

Synopsis

Declared in <bdlar_choiceref.h>

int
bdlat_choiceMakeSelection(
    ChoiceRef* ref,
    char const* selectionName,
    int selectionNameLength);

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
refchoice reference to manipulate
selectionNamename of the selection to make current
selectionNameLengthlength of selectionName