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);

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);

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

selectionName

name of the selection to activate

selectionNameLength

length of selectionName

Created with MrDocs