[#BloombergLP-bdlar-EnumConstRef]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::EnumConstRef
:relfileprefix: ../../
:mrdocs:

Type&hyphen;erased const reference to an object in the `bdlat` enumeration type category&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;enumref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class EnumConstRef;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlar/EnumConstRef/2constructor-06.adoc[`EnumConstRef`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlar/EnumConstRef/hasFallback.adoc[`hasFallback`] 
| Return `true` if the specified enumerator held by this object supports a fallback enumerator, and `false` otherwise&period;
| xref:BloombergLP/bdlar/EnumConstRef/isFallback.adoc[`isFallback`] 
| Return `true` if the specified enumerator held by this object is equal to a fallback enumerator, and `false` otherwise&period;
| xref:BloombergLP/bdlar/EnumConstRef/objectAddress.adoc[`objectAddress`] 
| Return a pointer to the wrapped object&period;
| xref:BloombergLP/bdlar/EnumConstRef/toInt.adoc[`toInt`] 
| Load into the specified `result` the integer representation of the enumerator value held by this object&period;
| xref:BloombergLP/bdlar/EnumConstRef/toString.adoc[`toString`] 
| Load into the specified `result` the string representation of the enumerator value held by this object&period;
| xref:BloombergLP/bdlar/EnumConstRef/vtable.adoc[`vtable`] 
| Return a pointer to the vtable&period;
| xref:BloombergLP/bdlar/EnumConstRef/xsdName.adoc[`xsdName`] 
| Return the `bdlat&lowbar;TypeName&colon;&colon;xsdName` value for the underlying object&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlar/bdlat_TypeName_xsdName-0e0.adoc[`bdlat&lowbar;TypeName&lowbar;xsdName`]
| Return the `bdlat&lowbar;TypeName&colon;&colon;xsdName` value for the specified `ref`&period;
| xref:BloombergLP/bdlar/bdlat_enumHasFallback-02.adoc[`bdlat&lowbar;enumHasFallback`]
| Return `true` if the specified `value` has a fallback enumerator, and `false` otherwise&period;
| xref:BloombergLP/bdlar/bdlat_enumIsFallback-0b.adoc[`bdlat&lowbar;enumIsFallback`]
| Return `true` if the specified `value` is equal to a fallback enumerator, and `false` otherwise&period;
|===


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