BloombergLP::bdlar::bdlat_choiceMakeSelection

Make the selection identified by the specified selectionId in the specified ref.

Synopsis

Declared in <bdlar_choiceref.h>

int
bdlat_choiceMakeSelection(
    ChoiceRef* ref,
    int selectionId);

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
refchoice reference to manipulate
selectionIdid of the selection to make current