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

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

Go to the source code of this file.

Classes

class  Visitor_Shop
 Base class that all shops must implement. 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_visitor_shop
 

Functions

def are_list_contents_the_same (list left, list right)
 Determine if the two string lists have the same contents.
 

Variables

TypeAlias Visitor_Village = "Visitor_Village"
 

Detailed Description

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

Definition in file visitor_visitor_shop.py.