Return the id of the current selection if the selection is defined, and k_UNDEFINED_SELECTION_ID otherwise.

Synopsis

Declared in <bdlat_choicefunctions.h>

template<class TYPE>
int
selectionId(TYPE const& object);

Return Value

id of the current selection, or k_UNDEFINED_SELECTION_ID if none

Parameters

Name

Description

object

choice object to query

Created with MrDocs