Declaration of the Visitor base class and the various shop classes used in the Visitor Pattern. More...
#include <string>
#include <map>
#include <memory>
#include "helpers/stringlist.h"
#include "Visitor_Shop.h"
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... | |
class | Visitor_Restaurant |
Represent a restaurant shop. More... | |
class | Visitor_Butcher |
Represent a butcher shop. More... | |
class | Visitor_Baker |
Represent a baker shop. More... | |
class | Visitor_VegetableGrocer |
Represent a vegetable grocer. More... | |
class | Visitor_CondimentGrocer |
Represent a condiment grocer. More... | |
class | Visitor_PickleGrocer |
Represent a pickle grocer. More... | |
class | Visitor_Maker |
Represent a maker (of things). More... | |
Namespaces | |
namespace | DesignPatternExamples_cpp |
The namespace containing all Design Pattern Examples implemented in C++. | |
Macros | |
#define | __VISITOR_ELEMENT_CLASSES_H__ |
Declaration of the Visitor base class and the various shop classes used in the Visitor Pattern.
Definition in file Visitor_Element_Classes.h.
#define __VISITOR_ELEMENT_CLASSES_H__ |
Definition at line 8 of file Visitor_Element_Classes.h.