FlagsClass

constructor()

Allocate a new FlagsClass.

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 FlagsClass 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(mask: <Error class: unknown class>, nValues: <Error class: unknown class>, values: FlagsValue?)

Allocate a new FlagsClass.

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

Parameters

mask

a mask covering all possible values.

nValues

the number of possible values.

values

an array of #GFlagsValue structs describing the individual values.


constructor(mask: <Error class: unknown class>, nValues: <Error class: unknown class>, values: FlagsValue?, scope: <Error class: unknown class>)

Allocate a new FlagsClass using the provided AutofreeScope.

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

Parameters

mask

a mask covering all possible values.

nValues

the number of possible values.

values

an array of #GFlagsValue structs describing the individual values.

scope

The AutofreeScope to allocate this structure in.


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