BloombergLP::bdlar::ChoiceRef::makeSelection

Set the value to the default for the selection indicated by name.

Synopsis

Declared in <bdlar_choiceref.h>

int
makeSelection(
    char const* selectionName,
    int selectionNameLength) const;

Description

Set the value to be the default for the selection indicated by the specified selectionName of the specified selectionNameLength. Return 0 on success, and non-zero value otherwise (i.e., the selection is not found).

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
selectionNamename of the selection to make current
selectionNameLengthlength of selectionName