BloombergLP::bdlat_ChoiceFunctions::makeSelection

Set the value of the specified object to be the default for the selection indicated by the specified selectionName of the specified selectionNameLength.

Synopsis

Declared in <bdlat_choicefunctions.h>

template<class TYPE>
int
makeSelection(
    TYPE* object,
    char const* selectionName,
    int selectionNameLength);

Description

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
objectchoice object to modify
selectionNamename of the selection to activate
selectionNameLengthlength of selectionName