BloombergLP::bdlde::Utf8Util::toAscii

Return the string name of the ErrorStatus enumerator for value.

Synopsis

Declared in <bdlde_utf8util.h>

static
char const*
toAscii(IntPtr value);

Description

Return the non-modifiable string representation of the ErrorStatus enumerator matching the specified value, if it exists, and "(* unrecognized value *)" otherwise. The string representation of an enumerator that matches value is the enumerator name with the "k_" prefix elided. Note that this method may be used to aid in interpreting status values that are returned from some methods in this utility. See ErrorStatus.

Return Value

enumerator name without the k_ prefix, or an unrecognized marker

Parameters

NameDescription
valueErrorStatus enumerator value to convert