Design Pattern Examples
Overview of object-oriented design patterns
visitor Directory Reference
Directory dependency graph for visitor:
visitor

Files

file  visitor/__init__.py [code]
 Python implementation of the Visitor Pattern example.
 
file  visitor_class.py [code]
 Implementation of the Visitor class as used in the Visitor Pattern.
 
file  visitor_element_classes.py [code]
 Implementation of the various Visitor_XXX shop classes as used in the Visitor Pattern.
 
file  visitor_exercise.py [code]
 Implementation of the Visitor_Exercise() function as used in the Visitor Pattern.
 
file  visitor_ordervisitor.py [code]
 Implementation of the OrderVisitor class as used in the Visitor Pattern.
 
file  visitor_village.py [code]
 Implementation of the Visitor_Village class as used in the Visitor Pattern.
 
file  visitor_visitor_shop.py [code]
 Implementation of the Visitor_Shop class as used in the Visitor Pattern.