BloombergLP::bdlat_ChoiceFunctions::bdlat_choiceMakeSelection

bdlat_choiceMakeSelection overloads

Synopses

Declared in <bdlat_choicefunctions.h>

Default customization-point implementation of makeSelection.

template<class TYPE>
int
bdlat_choiceMakeSelection(
    TYPE* object,
    int selectionId);
» more...

Default customization-point implementation of makeSelection by name.

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

Return Value

0 on success, and a non-zero value otherwise

Parameters

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