ImportedEnumDefinition

@Serializable
data class ImportedEnumDefinition(val type: String, val kind: Int, val name: String? = null, val required: Boolean? = false, val comment: String? = null, val uri: String, val namespace: String, val nativeType: String, val constants: List<String>? = null) : IGenericDefinition, WithComment, ImportedDefinition

An imported enumeration definition in a Wrap ABI.

Constructors

Link copied to clipboard
constructor(type: String, kind: Int, name: String? = null, required: Boolean? = false, comment: String? = null, uri: String, namespace: String, nativeType: String, constants: List<String>? = null)

Properties

Link copied to clipboard
open override val comment: String? = null

The comment associated with this definition, if there is one.

Link copied to clipboard
val constants: List<String>? = null

The list of constant values defined in this enumeration.

Link copied to clipboard
open override val kind: Int

The kind of this definition.

Link copied to clipboard
open override val name: String? = null

The name of this definition, if it has one.

Link copied to clipboard
open override val namespace: String

The namespace of this definition.

Link copied to clipboard
open override val nativeType: String

The native type of this definition.

Link copied to clipboard
open override val required: Boolean? = false

Whether this definition is required.

Link copied to clipboard
open override val type: String

The type of this definition, which is always "enum".

Link copied to clipboard
open override val uri: String

The URI where this definition is located.