narupatools.state.view.collection_view¶
View on a subset of keys in a shared state.
A SharedStateCollectionView is a view on a subset of keys belonging in a dictionary. See the documentation for SharedStateDictionaryView for more information.
A collection view is defined by a prefix such as ‘selection.’, which indicates what subset of keys it encapsulates. All methods referring to keys are prepended by this prefix if not so already, so accessing collection[‘abc’] for a collection with the prefix ‘selection.’ returns a reference to the key ‘selection.abc’
A collection, like a reference, can also specify that snapshots of its items should be converted to a specific class that derives from SerializableObject. See SharedStateReference for more information.
Classes
|
View on a collection of items in a shared state with a given prefix. |