Documentation Language: Swift

Class

GIR.Datatype

GIR type class

class Datatype

Topics

Initializers

?
init(node:at:with:nameAttr:)

XML Element initialser

Instance Properties

V
identifier

The identifier of this instance (e.g. C enum value type)

V
isVoid

Returns true if the data type is void

V
kind

String representation of the Datatype thing

V
typeRef

The underlying type

V
underlyingCRef

A reference to the underlying C type

Instance Methods

F
registerKnownType()

Register this type as an enumeration type

Relationships

Inherits From

Inherited By

Conforms To

See Also

GIR element models

C
GIR.Thing

GIR named thing class

C
GIR.CType

a type with an underlying C type entry

C
GIR.Alias

a type alias is just a type with an underlying C type

C
GIR.Argument

data type representing a function/method argument or return type

C
GIR.Bitfield

a bitfield is defined akin to an enumeration

C
GIR.Callback

a callback is the same as a function, except that the type definition is a @convention(c) callback definition

C
GIR.Class

a class data type record

C
GIR.Constant

an entry for a constant

C
GIR.Enumeration

an enumeration entry

C
GIR.Field

a field is a Property

C
GIR.Function

a function is the same as a method

C
GIR.Interface

an inteface is similar to a class, but can be part of a more complex type graph

C
GIR.Method

data type representing a function/method

C
GIR.Property

a property is a C type

C
GIR.Record

a data type record to create a protocol/struct/class for