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

Synopsis

Declared in <bdlat_choicefunctions.h>

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

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

Name

Description

object

choice object to modify

selectionId

id of the selection to activate

Created with MrDocs