BloombergLP::bdlat_ChoiceFunctions::makeSelection

makeSelection overloads

Synopses

Declared in <bdlat_choicefunctions.h>

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

template<class TYPE>
int
makeSelection(
    TYPE* object,
    int selectionId);
» more...

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

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

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
objectchoice object to modify
selectionIdid of the selection to activate
selectionNamename of the selection to activate
selectionNameLengthlength of selectionName