Design Pattern Examples
Overview of object-oriented design patterns
Strategy_SortEntries_Classes.h File Reference

Declaration of the Strategy_SortEntries_ClassFactory class and implementation of the various StrategyXXX classes that implement the ISortEntries interface as used in the Strategy Pattern. More...

#include <algorithm>
#include <exception>
#include "Strategy_ISortEntries.h"
#include "Strategy_EntryInformation.h"
Include dependency graph for Strategy_SortEntries_Classes.h:
This graph shows which files directly or indirectly include this file:

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 constructor for the sorting strategies. More...
 

Namespaces

namespace  DesignPatternExamples_cpp
 The namespace containing all Design Pattern Examples implemented in C++.
 

Macros

#define __STRATEGY_SORTENTRIES_CLASSES_H__
 

Detailed Description

Declaration of the Strategy_SortEntries_ClassFactory class and implementation of the various StrategyXXX classes that implement the ISortEntries interface as used in the Strategy Pattern.

Definition in file Strategy_SortEntries_Classes.h.

Macro Definition Documentation

◆ __STRATEGY_SORTENTRIES_CLASSES_H__

#define __STRATEGY_SORTENTRIES_CLASSES_H__

Definition at line 11 of file Strategy_SortEntries_Classes.h.