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

Synopsis

Declared in <bdlar_enumvtable.h>

struct EnumVtable;

Type Aliases

Name

Description

FromInt

Function pointer type assigning an enum value from an integer.

FromString

Function pointer type assigning an enum value from a string.

MakeFallback

Function pointer type assigning the fallback enumerator value.

Reset

Function pointer type resetting an enum to its default value.

Data Members

Name

Description

d_const

read‐only vtable

d_fromInt_fp

assign from integer

d_fromString_fp

assign from string

d_makeFallback_fp

assign fallback value

d_reset_fp

reset function

Created with MrDocs