Documentation Language: Swift

Class

GIRGenericType

Representation of a generic type (struct or class), its relationship to other types, and casting operations

final class GIRGenericType

Topics

Initializers

Instance Properties

V
castName

Swift name to use for casting: removes trailing ! and ?

V
containedType

The contained type.

V
genericSuffix

Return the bracketed suffix.

Instance Methods

F
cast(expression:pointerLevel:const:isConstSource:)

Return the default cast to convert the given expression to an opaque pointer

Relationships

Inherits From

Conforms To

See Also

Type system

C
GIRType

Representation of a fundamental type, its relationship to other types, and casting operations

C
GIRStringType

Representation of a string type, its relationship to other types, and casting operations

C
GIRRawPointerType

Representation of a raw pointer type, its relationship to other types, and casting operations

C
GIRRecordType

Representation of a record type (struct or class), its relationship to other types, and casting operations

C
GIROpaquePointerType

Representation of a opaque pointer type, its relationship to other types, and casting operations

C
TypeConversion

Type conversion operation. This root class is used for aliases/equal type conversions, i.e., casts are no-ops.

C
SubClassConversion

Parent/Child class conversion operation

C
OptionalSubClassConversion

Parent/Child class conversion operation with optional upcast

C
CustomConversion

Custom type conversion operation

C
NestedConversion

Nested type conversion operation

C
EnumTypeConversion

Enum type conversion operation.

C
BitfieldTypeConversion

Bit field (OptionSet) type conversion operation.

C
RawPointerConversion

Raw pointer conversion