Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TreeMutator_test Class Reference

Description

Test:
Demonstrate a customisable component for flexible bindings to enable generic tree changing and mutating operations to arbitrary hierarchical data structures.
  • we use lambdas to link into our private implementation
  • this test demonstrates the behaviour of an attribute setter
  • plus some of the primitive operations available on collections
See also
TreeMutator
DiffComplexApplication_test a way more complex usage scenario
GenNodeBasic_test
GenericRecordRepresentation_test

Definition at line 68 of file tree-mutator-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void simpleAttributeBinding ()
 
void simpleCollectionBinding ()
 

Member Function Documentation

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 72 of file tree-mutator-test.cpp.

References TreeMutator_test::simpleAttributeBinding(), and TreeMutator_test::simpleCollectionBinding().

+ Here is the call graph for this function:

void simpleAttributeBinding ( )
inlineprivate

Definition at line 80 of file tree-mutator-test.cpp.

References TreeMutator::build(), util::isnil(), MARK_TEST_FUN, and lib::meta::typeStr().

Referenced by TreeMutator_test::run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void simpleCollectionBinding ( )
inlineprivate

Definition at line 110 of file tree-mutator-test.cpp.

References TreeMutator::build(), util::isnil(), util::join(), MARK_TEST_FUN, and lib::meta::typeStr().

Referenced by TreeMutator_test::run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

+ Inheritance diagram for TreeMutator_test:
+ Collaboration diagram for TreeMutator_test:

The documentation for this class was generated from the following file: