This namespace provides functions that expose "enumeration" behavior for "enumeration" types. See the component‐level documentation for more information.

Types

Name

Description

HasFallbackEnumerator

Meta‐function that detects whether TYPE has a fallback enumerator.

IsEnumeration

Meta‐function that detects whether TYPE exposes enumeration behavior.

Functions

Name

Description

bdlat_enumFromInt

Default customization‐point implementation of fromInt.

bdlat_enumFromString

Default customization‐point implementation of fromString.

bdlat_enumHasFallback

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

bdlat_enumIsFallback

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

bdlat_enumMakeFallback

Load into the specified result the fallback enumerator value.

bdlat_enumToInt

Default customization‐point implementation of toInt.

bdlat_enumToString

Default customization‐point implementation of toString.

fromInt

Load into the specified result the enumerator matching the specified number.

fromString

Load into the specified result the enumerator matching the specified string of the specified stringLength.

hasFallback

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

isFallback

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

makeFallback

Load into the specified result the fallback enumerator value.

toInt

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

toString

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

Created with MrDocs