Design Pattern Examples
Overview of object-oriented design patterns
visitor_exercise.py File Reference

Implementation of the Visitor_Exercise() function as used in the Visitor Pattern. More...

Go to the source code of this file.

Namespaces

namespace  DesignPatternExamples_python
 The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace.
 
namespace  DesignPatternExamples_python.visitor
 
namespace  DesignPatternExamples_python.visitor.visitor_exercise
 

Functions

def Visitor_Exercise ()
 Example of using the Visitor Pattern.
 

Detailed Description

Implementation of the Visitor_Exercise() function as used in the Visitor Pattern.

Definition in file visitor_exercise.py.