template<class COLL, class MAT, class CTR, class SEL, class ASS, class MUT>
struct lib::diff::anonymous_namespace{tree-mutator-collection-binding.hpp}::CollectionBinding< COLL, MAT, CTR, SEL, ASS, MUT >
Attach to collection: Concrete binding setup.
This record holds all the actual binding and closures used to attach the tree mutator to an external pre-existing STL container with child elements/objects. It serves as flexible connection, configuration and adaptation element, and will be embedded as a whole into the (ChildCollectionMutator), which in turn implements the TreeMutator
interface. The resulting compound is able to consume tree diff messages and apply the respective changes and mutations to an otherwise opaque implementation data structure.
- Template Parameters
-
COLL | a STL compliant collection type holding "child elements" |
MAT | a functor to determine if a child matches a diff spec (GenNode) |
CTR | a functor to construct a new child element from a given diff spec |
SEL | predicate to determine if this binding layer has to process a diff message |
ASS | a functor to assign / set a new value from a given diff spec |
MUT | a functor to construct a nested mutator for some child element |
Definition at line 188 of file tree-mutator-collection-binding.hpp.