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

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"
Include dependency graph for Visitor_Element_Classes.h:
This graph shows which files directly or indirectly include this file:

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__
 

Detailed Description

Declaration of the Visitor base class and the various shop classes used in the Visitor Pattern.

Definition in file Visitor_Element_Classes.h.

Macro Definition Documentation

◆ __VISITOR_ELEMENT_CLASSES_H__

#define __VISITOR_ELEMENT_CLASSES_H__

Definition at line 8 of file Visitor_Element_Classes.h.