BloombergLP::bdlar::ChoiceVtable

Vtable for mutable choice access.

Synopsis

Declared in <bdlar_choicevtable.h>

struct ChoiceVtable;

Description

This struct stores a series of function pointers to wrappers that invoke the underlying methods of the supplied type erased object that implement the "choice" type category.

Type Aliases

NameDescription
MakeSelectionById Function pointer type making a choice selection by id.
MakeSelectionByName Function pointer type making a choice selection by name.
ManipulateSelection Function pointer type manipulating a choice selection.
Reset Function pointer type resetting a choice object.

Data Members

NameDescription
d_const read-only vtable
d_makeSelectionById_fp make selection by id
d_makeSelectionByName_fp make selection by name
d_manipulateSelection_fp selection manipulator
d_reset_fp reset function