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

Implementation of the Visitor class as used in the Visitor Pattern. More...

Go to the source code of this file.

Classes

class  Visitor
 All visitors must implement this base class and then override one or more of the VisitXXX() methods, depending on which shop type the visitor class is interested in. More...
 

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_class
 

Detailed Description

Implementation of the Visitor class as used in the Visitor Pattern.

Definition in file visitor_class.py.