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
AtkNoOpObjectFactory
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
no_op_object_factory_ptr
Default implementationTyped pointer to the underlying
AtkNoOpObjectFactory
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
AtkNoOpObjectFactory
instance.Declaration
Swift
var no_op_object_factory_ptr: UnsafeMutablePointer<AtkNoOpObjectFactory>! { get }
-
Required Initialiser for types conforming to
NoOpObjectFactoryProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
parent
Extension methodUndocumented
Declaration
Swift
@inlinable var parent: AtkObjectFactory { get }