[#BloombergLP-bdlat-EnumUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat.adoc[bdlat]::EnumUtil :relfileprefix: ../../ :mrdocs: Namespace for utility functions that decode `bdlat` enumerations. == Synopsis Declared in `<bdlat_enumutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlat/EnumUtil/fromIntOrFallbackIfEnabled.adoc[`fromIntOrFallbackIfEnabled`] | Decode an enumeration from an integer, using a fallback if needed. | xref:BloombergLP/bdlat/EnumUtil/fromStringOrFallbackIfEnabled.adoc[`fromStringOrFallbackIfEnabled`] | Decode an enumeration from a string, using a fallback if needed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#