Documentation Language: Swift

Structure

EObjectStorage

Internal storage for feature values in an EObject.

struct EObjectStorage

Overview

This helper type manages the dynamic storage of feature values for objects conforming to EObject. It tracks both the values themselves and which features have been explicitly set.

Important

This is a helper type and does not conform to EObject itself. It provides the storage mechanism for types that do conform to EObject.

Implementation Notes

Topics

Initializers

?
init()

Creates a new empty storage.

Instance Methods

F
get(feature:)

Retrieves the value for a feature.

F
get(name:)

Retrieves the value for a feature by name.

F
getFeatureNames()

Get all feature names that have been set in insertion order.

F
getSetFeatureIds()

Get all feature IDs that have been set in insertion order.

F
isSet(feature:)

Checks whether a feature has been explicitly set.

F
isSet(name:)

Checks whether a feature has been explicitly set by name.

F
set(feature:value:)

Sets the value for a feature.

F
set(name:value:)

Sets the value for a feature by name.

F
unset(feature:)

Unsets a feature, removing its value and set status.

F
unset(name:)

Unsets a feature by name, removing its value and set status.

Default Implementations

Relationships

Conforms To