Vtable for read‐only choice access.

Synopsis

Declared in <bdlar_choicevtable.h>

struct ChoiceConstVtable;

Description

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.

Type Aliases

Name

Description

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

Name

Description

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

Created with MrDocs