BloombergLP::bdlat_ChoiceFunctions::bdlat_choiceMakeSelection

Default customization-point implementation of makeSelection by name.

Synopsis

Declared in <bdlat_choicefunctions.h>

template<class TYPE>
int
bdlat_choiceMakeSelection(
    TYPE* object,
    char const* selectionName,
    int selectionNameLength);

Return Value

0 on success, and a non-zero value otherwise

Parameters

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