bdlat_choiceMakeSelection overloads

Synopses

Declared in <bdlar_choiceref.h>

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

int
bdlat_choiceMakeSelection(
    ChoiceRef* ref,
    int selectionId);

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

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

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

ref

choice reference to manipulate

selectionId

id of the selection to make current

selectionName

name of the selection to make current

selectionNameLength

length of selectionName

Created with MrDocs