[#BloombergLP-bdlat-EnumUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat.adoc[bdlat]::EnumUtil
:relfileprefix: ../../
:mrdocs:

Namespace for utility functions that decode `bdlat` enumerations&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;enumutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct EnumUtil;
----

== Description

This `struct` provides a namespace for functions that decode `bdlat` &quot;enumerations&quot; from integral and string representations, possibly to the &quot;fallback&quot; value (if one exists)&period;

== 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&period;
| xref:BloombergLP/bdlat/EnumUtil/fromStringOrFallbackIfEnabled.adoc[`fromStringOrFallbackIfEnabled`] 
| Decode an enumeration from a string, using a fallback if needed&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
