NoOpObjectFactoryProtocol
public protocol NoOpObjectFactoryProtocol : ObjectFactoryProtocol
The AtkObjectFactory which creates an AtkNoOpObject. An instance of this is created by an AtkRegistry if no factory type has not been specified to create an accessible object of a particular type.
The NoOpObjectFactoryProtocol protocol exposes the methods and properties of an underlying AtkNoOpObjectFactory instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see NoOpObjectFactory.
Alternatively, use NoOpObjectFactoryRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
AtkNoOpObjectFactoryinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
no_op_object_factory_ptrDefault implementationTyped pointer to the underlying
AtkNoOpObjectFactoryinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
AtkNoOpObjectFactoryinstance.Declaration
Swift
var no_op_object_factory_ptr: UnsafeMutablePointer<AtkNoOpObjectFactory>! { get } -
Required Initialiser for types conforming to
NoOpObjectFactoryProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parentExtension methodUndocumented
Declaration
Swift
@inlinable var parent: AtkObjectFactory { get }
View on GitHub
Install in Dash
NoOpObjectFactoryProtocol Protocol Reference