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

Implementation of the Strategy_SortEntries_ClassFactory class as used in the Strategy Pattern. More...

Go to the source code of this file.

Classes

class  Strategy_SortEntries_ByName
 Strategy for sorting the names in ascending (or descending) order. More...
 
class  Strategy_SortEntries_ByAge
 Strategy for sorting the ages in ascending (or descending) order. More...
 
class  Strategy_SortEntries_ByHeight
 Strategy for sorting the heights in ascending (or descending) order. More...
 
class  Strategy_SortEntries_ClassFactory
 Holds the class factory for the sorting strategies. More...
 

Namespaces

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

Detailed Description

Implementation of the Strategy_SortEntries_ClassFactory class as used in the Strategy Pattern.

Definition in file strategy_sortentries_class.py.