Documentation Language: Swift

Class

StringConversion

class StringConversion

Topics

Instance Methods

F
castFromTarget(expression:)

Swift code for converting from the target type to the source string type. By default, the type conversion is just a conversion constructor call.

F
castToTarget(from:)

Swift code for converting from a string to a pointer of the target type. By default, the type conversion is just a conversion constructor call.

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
GIRGenericType

Representation of a generic 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