Lumiera  0.pre.03
»edit your freedom«
VisitingTool_test Class Reference

Description

Test:
our lib implementation of the visitor pattern.

Defines a hierarchy of test classes to check the following cases

  • calling the correct visiting tool specialised function for given concrete hierarchy classes
  • visiting tool not declaring to visit some class is silently ignored by default
  • newly added classes will be handled by existing functions according to inheritance relations

Definition at line 112 of file visitingtool-test.cpp.

Private Member Functions

void known_visitor_known_class ()
 
virtual void run (Arg)
 
void visiting_extended_hierarchy ()
 
+ Inheritance diagram for VisitingTool_test:
+ Collaboration diagram for VisitingTool_test:

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