ChangeSet
What changed in a document between two settles of its feed.
In the namespace construct::document. Declared in src/libs/libconstruct/construct/document/ChangeSet.hpp.
Detailed description
The sets are net (opal-plan-edit-sessions §PES-3.4): they compare the document at the last settle with the document now, per id.
- An id absent then and present now is added. - An id present then and absent now is removed, with the type it had. - An id present then and now, removed and added again in between, is replaced: a listener sees it removed and then added. - An id present then and now, only changed, is updated. - An id added and removed again in between is not in the set at all.
The Construct item family, the Construct instance family and the LogicalScene instance family are kept apart: the model emits them apart, and a listener of one expects the ids of that one.