Design Pattern Examples
Overview of object-oriented design patterns
Visitor_Exercise.cpp File Reference

Implementation of the Visitor_Exercise() function as used in the Visitor Pattern. More...

#include <iostream>
#include "helpers/formatstring.h"
#include "Visitor_Exercise.h"
#include "Visitor_Visitor_Class.h"
#include "Visitor_Village.h"
Include dependency graph for Visitor_Exercise.cpp:

Go to the source code of this file.

Namespaces

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

Functions

void Visitor_Exercise ()
 Example of using the Visitor design pattern.
 

Detailed Description

Implementation of the Visitor_Exercise() function as used in the Visitor Pattern.

Definition in file Visitor_Exercise.cpp.