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

Name

Description

object

choice object to modify

selectionName

name of the selection to activate

selectionNameLength

length of selectionName

Created with MrDocs