-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
model.base: add
item_id_{set,del}_hook
to NamespaceSet
These hooks allow dynamically assigning a value to the identifying attribute of an object whenever it is added to a `NamespaceSet` (`item_id_set_hook`). Furthermore, the `item_id_del_hook` allows unsetting the identifying attribute whenever an object is removed from a `NamespaceSet`. This functionality is necessary for the implementation of `SubmodelElementLists`, because there we need to store items without an identifying attribute in a `NamespaceSet`.
- Loading branch information
Showing
2 changed files
with
140 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters