BloombergLP::bdlar::ChoiceConstVtable

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

Synopsis

Declared in <bdlar_choicevtable.h>

struct ChoiceConstVtable;

Type Aliases

NameDescription
AccessSelection Function pointer type accessing a choice selection.
HasSelectionId Function pointer type indicating whether a choice has the specified selection id.
HasSelectionName Function pointer type indicating whether a choice has the specified selection name.
SelectionId Function pointer type returning the current selection id of the specified object.
XsdName Function pointer type returning the bdlat_TypeName::xsdName value for object.

Data Members

NameDescription
d_accessSelection_fp selection accessor
d_hasSelectionId_fp selection id predicate
d_hasSelectionName_fp selection name predicate
d_selectionId_fp selection id accessor
d_xsdName_fp XSD name accessor