-
Notifications
You must be signed in to change notification settings - Fork 26
ClassDescriptor
A class descriptor that descibes some class context.
public struct ClassDescriptor: TypeContextDescriptor, LayoutWrapper
ABI Stability: Stable since the following
| macOS | iOS/tvOS | watchOS | Linux | Windows |
|-------|----------|---------|-------|---------|
| 10.14 | 12.2 | 5.2 | NA | NA |
TypeContextDescriptor
, LayoutWrapper
Backing context descriptor pointer.
public let ptr: UnsafeRawPointer
The mangled type name for this class's superclass, if it has one.
public var superclass: UnsafeRawPointer
The negative size of the metadata objects in this class.
public var negativeSize: Int
The positive size of the metadata objects in this class.
public var positiveSize: Int
The number of members this class defines. This is both properties and methods.
public var numMembers: Int
The number of properties this class declares (not including superclass) properties).
public var numFields: Int
The number of words away the field offset vector is from canonical metadata pointer.
public var fieldOffsetVectorOffset: Int
A pointer to the resilient superclass. This pointer differs in type depending on what typeFlags.resilientSuperclassRefKind returns.
public var resilientSuperclass: UnsafeRawPointer?
The foreign metadata initialization info for this class metadata, if it has any.
public var foreignMetadataInitialization: ForeignMetadataInitialization?
The singleton metadata initialization info for this class metadata, if it has any.
public var singletonMetadataInitialization: SingletonMetadataInitialization?
The VTable header information for this class, if it has a vtable.
public var vtableHeader: VTableDescriptorHeader?
An array of all of the method descriptors for this class for the entries in the vtable, if this class has a vtable.
public var methodDescriptors: [MethodDescriptor]
The override table header indicating how many method overrides there are for this class, if it has an override table.
public var overrideTableHeader: OverrideTableHeader?
An array of all of the method override descriptors, if this class has an override table.
public var methodOverrideDescriptors: [MethodOverrideDescriptor]
Generated at 2021-05-06T17:56:33+0000 using swift-doc 1.0.0-beta.6.
Types
- AnonymousDescriptor
- AnonymousDescriptor.Flags
- AnyExistentialContainer
- BoxPair
- ClassDescriptor
- ClassMetadata
- ClassMetadata.Flags
- ConformanceDescriptor
- ConformanceDescriptor.Flags
- ContextDescriptorFlags
- ContextDescriptorKind
- DualExistentialContainer
- EnumDescriptor
- EnumMetadata
- EnumValueWitnessTable
- ExistentialContainer
- ExistentialMetadata
- ExistentialMetadata.Flags
- ExistentialMetatypeMetadata
- ExtensionDescriptor
- FieldDescriptor
- FieldDescriptor.Kind
- FieldRecord
- FieldRecord.Flags
- ForeignClassMetadata
- ForeignMetadataInitialization
- FunctionConvention
- FunctionMetadata
- FunctionMetadata.Flags
- FunctionMetadata.ParamFlags
- GenericContext
- GenericMetadataPattern
- GenericMetadataPattern.Flags
- GenericParameterDescriptor
- GenericParameterKind
- GenericRequirementDescriptor
- GenericRequirementDescriptor.Flags
- GenericRequirementKind
- GenericRequirementLayoutKind
- HeapGenericLocalVariableMetadata
- HeapLocalVariableMetadata
- HeapObject
- KnownMetadata
- KnownMetadata.Builtin
- MetadataAccessFunction
- MetadataBounds
- MetadataInitializationKind
- MetadataKind
- MetadataRequest
- MetadataResponse
- MetadataState
- MetatypeMetadata
- MethodDescriptor
- MethodDescriptor.Flags
- MethodDescriptor.Kind
- MethodOverrideDescriptor
- ModuleDescriptor
- ObjCClassWrapperMetadata
- OpaqueDescriptor
- OpaqueMetadata
- OverrideTableHeader
- ProtocolDescriptor
- ProtocolDescriptor.Flags
- ProtocolRequirement
- ProtocolRequirement.Flags
- ProtocolRequirement.Kind
- ReferenceStorageKind
- SingletonMetadataInitialization
- SpecialProtocol
- StructDescriptor
- StructMetadata
- TupleMetadata
- TupleMetadata.Element
- TypeContextDescriptorFlags
- TypeGenericContext
- TypeReferenceKind
- VTableDescriptorHeader
- ValueOwnership
- ValueWitnessTable
- ValueWitnessTable.Flags
- WitnessTable