Type‐erased const reference to an object in the bdlat enumeration type category.

Synopsis

Declared in <bdlar_enumref.h>

class EnumConstRef;

Member Functions

Name

Description

EnumConstRef [constructor]

Constructors

hasFallback

Return true if the specified enumerator held by this object supports a fallback enumerator, and false otherwise.

isFallback

Return true if the specified enumerator held by this object is equal to a fallback enumerator, and false otherwise.

objectAddress

Return a pointer to the wrapped object.

toInt

Load into the specified result the integer representation of the enumerator value held by this object.

toString

Load into the specified result the string representation of the enumerator value held by this object.

vtable

Return a pointer to the vtable.

xsdName

Return the bdlat_TypeName::xsdName value for the underlying object.

Non-Member Functions

Name

Description

bdlat_TypeName_xsdName

Return the bdlat_TypeName::xsdName value for the specified ref.

bdlat_enumHasFallback

Return true if the specified value has a fallback enumerator, and false otherwise.

bdlat_enumIsFallback

Return true if the specified value is equal to a fallback enumerator, and false otherwise.

Created with MrDocs