Namespace for utility functions that decode bdlat enumerations.

Synopsis

Declared in <bdlat_enumutil.h>

struct EnumUtil;

Description

This struct provides a namespace for functions that decode bdlat "enumerations" from integral and string representations, possibly to the "fallback" value (if one exists).

Static Member Functions

Name

Description

fromIntOrFallbackIfEnabled

Decode an enumeration from an integer, using a fallback if needed.

fromStringOrFallbackIfEnabled

Decode an enumeration from a string, using a fallback if needed.

Created with MrDocs