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

Declaration of the IWorkByProxy interface and the Proxy_Classes_Container class used in the Proxy Pattern. More...

#include <memory>
#include <string>
Include dependency graph for Proxy_Class.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IWorkByProxy
 Represents what can be done on the proxy object. This same interface is implemented on the real object as well to ensure both have the same methods. The program accesses the proxy object only through this interface. More...
 
class  Proxy_Classes_Container
 For the purposes of this example, this class hides the details about the proxy class and the real class, exposing only the IWorkByProxy interface of the proxy. In a real program, the real class would be in its own application/DLL/assembly and separate from the proxy class. More...
 

Namespaces

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

Macros

#define __PROXY_CLASS_H__
 

Detailed Description

Declaration of the IWorkByProxy interface and the Proxy_Classes_Container class used in the Proxy Pattern.

Definition in file Proxy_Class.h.

Macro Definition Documentation

◆ __PROXY_CLASS_H__

#define __PROXY_CLASS_H__

Definition at line 10 of file Proxy_Class.h.