Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/diff/tree-mutator-collection-binding.hpp"
Nested DSL to define the specifics of a collection binding.
Definition at line 517 of file tree-mutator-collection-binding.hpp.
Public Member Functions | |
template<class FUN > | |
CollectionBindingBuilder< COLL, MAT, CTR, SEL, FUN,MUT > | assignElement (FUN setter) |
template<class FUN > | |
CollectionBindingBuilder< COLL, MAT, CTR, SEL, ASS, FUN > | buildChildMutator (FUN childMutationBuilder) |
template<class FUN > | |
CollectionBindingBuilder< COLL, MAT, FUN,SEL, ASS, MUT > | constructFrom (FUN constructor) |
template<class FUN > | |
CollectionBindingBuilder< COLL, MAT, CTR, FUN,ASS, MUT > | isApplicableIf (FUN selector) |
template<class FUN > | |
CollectionBindingBuilder< COLL, FUN,CTR, SEL, ASS, MUT > | matchElement (FUN matcher) |
Public Member Functions inherited from CollectionBinding< COLL, MAT, CTR, SEL, ASS, MUT > | |
CollectionBinding (Coll &coll, MAT m, CTR c, SEL s, ASS a, MUT u) | |
iterator | initMutation () |
void | inject (Elm &&elm) |
iterator | locate (GenNode const &targetSpec) |
locate element for assignment or mutation, with special shortcut to the recently inserted element | |
iterator | search (GenNode const &targetSpec, iterator pos) |
Additional Inherited Members | |
Public Types inherited from CollectionBinding< COLL, MAT, CTR, SEL, ASS, MUT > | |
using | Coll = typename Strip< COLL >::TypeReferred |
using | const_iterator = typename lib::iter_stl::_SeqT< const Coll >::Range |
using | Elm = typename Coll::value_type |
using | iterator = typename lib::iter_stl::_SeqT< Coll >::Range |
using | Trait = ContainerTraits< Coll > |
Public Attributes inherited from CollectionBinding< COLL, MAT, CTR, SEL, ASS, MUT > | |
ASS | assign |
Coll & | collection |
CTR | construct |
Coll | contentBuffer |
SEL | isApplicable |
MAT | matches |
MUT | openSub |
Protected Member Functions inherited from MoveOnly | |
MoveOnly (MoveOnly &&)=default | |
MoveOnly (MoveOnly const &)=delete | |
MoveOnly & | operator= (MoveOnly &&)=delete |
MoveOnly & | operator= (MoveOnly const &)=delete |
|
inline |
matcher | expected lambda: bool(GenNode const& spec, Elm const& elm) |
Definition at line 524 of file tree-mutator-collection-binding.hpp.
References lib::diff::anonymous_namespace{tree-mutator-collection-binding.hpp}::collection().
|
inline |
constructor | expected lambda: Elm (GenNode const&) |
Definition at line 537 of file tree-mutator-collection-binding.hpp.
References lib::diff::anonymous_namespace{tree-mutator-collection-binding.hpp}::collection().
|
inline |
selector | expected lambda: bool(GenNode const&) |
Definition at line 550 of file tree-mutator-collection-binding.hpp.
References lib::diff::anonymous_namespace{tree-mutator-collection-binding.hpp}::collection().
|
inline |
setter | expected lambda: bool(Elm&, GenNode const&) |
Definition at line 563 of file tree-mutator-collection-binding.hpp.
References lib::diff::anonymous_namespace{tree-mutator-collection-binding.hpp}::collection().
|
inline |
childMutationBuilder | expected lambda: bool(Elm&, GenNode::ID const&, TreeMutator::Handle) |
Definition at line 576 of file tree-mutator-collection-binding.hpp.
References lib::diff::anonymous_namespace{tree-mutator-collection-binding.hpp}::collection().