Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
VisitingTool_concept Class Reference

Description

Test:
build and run some common cases for developing and verifying ichthyo's implementation concept for the Visitor Pattern. Defines a hierarchy of test classes to check the following cases
  • calling the correct visiting tool specialized function for given concrete hierarchy classes
  • visiting tool not declaring to visit some class
  • newly added and not properly declared Visitable class causes the dispatcher to invoke an error handler

Definition at line 399 of file visitingtool-concept.cpp.

Private Member Functions

virtual void run (Arg)
 
void known_visitor_known_class ()
 
void visitor_not_visiting_some_class ()
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 401 of file visitingtool-concept.cpp.

References VisitingTool_concept::known_visitor_known_class(), and VisitingTool_concept::visitor_not_visiting_some_class().

+ Here is the call graph for this function:

◆ known_visitor_known_class()

void known_visitor_known_class ( )
inlineprivate

Definition at line 407 of file visitingtool-concept.cpp.

References Visitable< TOOL >::apply().

Referenced by VisitingTool_concept::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visitor_not_visiting_some_class()

void visitor_not_visiting_some_class ( )
inlineprivate

Definition at line 423 of file visitingtool-concept.cpp.

References Visitable< TOOL >::apply().

Referenced by VisitingTool_concept::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for VisitingTool_concept:
+ Collaboration diagram for VisitingTool_concept:

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