EnumValue

constructor()

Allocate a new EnumValue.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new EnumValue using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(value: <Error class: unknown class>, valueName: String?, valueNick: String?)

Allocate a new EnumValue.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

value

the enum value

valueName

the name of the value

valueNick

the nickname of the value


constructor(value: <Error class: unknown class>, valueName: String?, valueNick: String?, scope: <Error class: unknown class>)

Allocate a new EnumValue using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

value

the enum value

valueName

the name of the value

valueNick

the nickname of the value

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)