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. Return 0 on success, and non-zero value otherwise (i.e., the selection is not found).

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. Return 0 on success, and non-zero value otherwise (i.e., the selection is not found).

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