Documentation Language: Swift

Method

getAllInstancesOf(_:)

Gets all instances of a specific EClass in this resource.

func getAllInstancesOf(_ eClass: EClass) -> [any EObject]

Parameters

eClass

The EClass to find instances of

Return Value

Array of objects that are instances of the specified EClass

Discussion

This method is used by ATL virtual machine to find all elements that match a specific type for transformation rules.