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 "enum" type category.

Synopsis

Declared in <bdlar_enumvtable.h>

struct EnumConstVtable;

Type Aliases

Name

Description

HasFallback

Function pointer type indicating whether an enum supports a fallback enumerator.

IsFallback

Function pointer type indicating whether an enum value is a fallback.

ToInt

Function pointer type loading the integer representation of an enum value.

ToString

Function pointer type loading the string representation of an enum value.

XsdName

Function pointer type returning the XSD name of an enum value.

Data Members

Name

Description

d_hasFallback_fp

fallback support predicate

d_isFallback_fp

fallback value predicate

d_toInt_fp

integer representation accessor

d_toString_fp

string representation accessor

d_xsdName_fp

XSD name accessor

Created with MrDocs