carb::crashreporter::MetadataValueType

Defined in carb/crashreporter/ICrashReporter.h

enum carb::crashreporter::MetadataValueType

Possible types that a volatile metadata value could be.

These are used to determine which type of value is to be returned from a volatile metadata callback function and how that value is to be converted into a string to be sent as metadata. The return type of the callback is split into common primitive types to discourage implementors of the callbacks from using their own potentially dangerous methods of converting the metadata value to a string.

Values:

enumerator eInteger

The callback will return a signed 64-bit integer value.

enumerator eUInteger

The callback will return an unsigned 64-bit integer value.

enumerator eFloat

The callback will return a 64-bit floating point value.

enumerator eString

The callback will return an arbitrary length UTF-8 encoded string.