Design Pattern Examples
Overview of object-oriented design patterns
IWorkByProxy Struct Reference

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...

#include <Proxy_IWorkByProxy.h>

Collaboration diagram for IWorkByProxy:
Collaboration graph

Public Attributes

bool(* DoWork )(DynamicString *someArgument)
 Does some work on the given argument and updates the given argument.
 

Detailed Description

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.

Definition at line 19 of file Proxy_IWorkByProxy.h.

Member Data Documentation

◆ DoWork

bool(* DoWork) (DynamicString *someArgument)

Does some work on the given argument and updates the given argument.

Parameters
someArgumentA DynamicString object to be worked on.

Definition at line 25 of file Proxy_IWorkByProxy.h.

Referenced by Proxy_DoWork(), and Proxy_Exercise().


The documentation for this struct was generated from the following file: