lumiera_documentation/tests/library/diff
Ichthyostega 7650b36f1e Generic Record: finish implementation of Mutator
especially setting (changing) attributes turned out to be tricky,
since in case of a GenNode this would mean to re-bind the hash ID;
we can not possibly do that properly without knowing the type of the payload,
and by design this payload type is opaque (erased).

As resort, I changed the semantics of the assign operation:
now it rather builds a new payload element, with a given initialiser.
In case of the strings, this ends up being the same operation,
while in case of GenNode, this is now something entirely different:
we can now build a new GenNode "in place" of the old one, and both
will have the same symbolic ID (attribute key). Incidentally,
our Variant implementation will reject such a re-building operatinon
when this means to change the (opaque) payload type.

in addition, I created a new API function on the Mutator,
allowing to move-in a complete attribute object. Actually this
new function became the working implementation. This way, it is
still possible to emplace a new attribute efficiently (consider
this to be a whole object graph!). But only, if the key (ID)
embedded in the attribute object is already what is the intended
key for this attribute. This way, we elegantly circumvent the
problem of having to re-bind a hash ID without knowing the type seed
2015-08-17 20:31:07 +02:00
..
diff-index-table-test.cpp allow for iterative access to the snapshot data in the lookup table 2015-01-04 14:23:12 +01:00
diff-list-application-test.cpp settle architectural considerations regarding the TreeMuator concept 2015-04-03 20:10:22 +02:00
diff-list-generation-test.cpp Implementation of List Diff detection finished. Unit Test PASS 2015-01-04 15:13:16 +01:00
gen-node-basic-test.cpp fix warnings found by CLang (3.5) 2015-08-16 01:37:04 +02:00
generic-record-representation-test.cpp Generic Record: finish implementation of Mutator 2015-08-17 20:31:07 +02:00
generic-tree-mutator-test.cpp WIP: simple implementation / stubbing 2015-08-16 01:35:30 +02:00
generic-tree-representation-test.cpp WIP: first draft -- properties of an external symbolic record type 2015-08-16 01:35:28 +02:00