Design Pattern Examples
Overview of object-oriented design patterns
cplusplus Directory Reference
Directory dependency graph for cplusplus:
cplusplus

Directories

directory  helpers
 

Files

file  Adapter_Exercise.cpp [code]
 Implementation of the Adapter_Exercise() function as used in the Adapter Pattern.
 
file  cplusplus/Adapter_Exercise.h [code]
 Declaration of the Adapter_Exercise() function as used in the Adapter Pattern.
 
file  Adapter_FrontEndClass.cpp [code]
 Implementation of the DataReaderWriter class used in the Adapter Pattern.
 
file  Adapter_FrontEndClass.h [code]
 Declaration of the DataReaderWriter class used in the Adapter Pattern.
 
file  Bridge_ConsoleLogger.cpp [code]
 Implementation of the ConsoleLogger class used in the Bridge Pattern.
 
file  cplusplus/Bridge_ConsoleLogger.h [code]
 Declaration of the ConsoleLogger class used in the Bridge Pattern.
 
file  Bridge_Exercise.cpp [code]
 Implementation of the Bridge_Exercise() function as used in the Bridge Pattern.
 
file  cplusplus/Bridge_Exercise.h [code]
 Declaration of the Bridge_Exercise() function as used in the Bridge Pattern.
 
file  Bridge_FileLogger.cpp [code]
 Implementation of the FileLogger class used in the Bridge Pattern.
 
file  cplusplus/Bridge_FileLogger.h [code]
 Declaration of the FileLogger class used in the Bridge Pattern.
 
file  Bridge_Logger.cpp [code]
 Implementation of the Logger class used in the Bridge Pattern.
 
file  Bridge_Logger.h [code]
 Declaration of the Logger class used in the Bridge Pattern.
 
file  Bridge_LoggerHelpers.cpp [code]
 Implementation of the LoggerHelpers namespace functions used in the Bridge Pattern.
 
file  Bridge_LoggerHelpers.h [code]
 Declaration of the LoggerHelpers namespace functions used in the Bridge Pattern.
 
file  Bridge_LoggerInterface.h [code]
 Declaration of the ILogger interface used by all logger classes in the Bridge Pattern.
 
file  Bridge_NullLogger.cpp [code]
 Implementation of the NullLogger class factory used in the Bridge Pattern.
 
file  cplusplus/Bridge_NullLogger.h [code]
 Declaration of the NullLogger class used in the Bridge Pattern.
 
file  Command_Classes.h [code]
 Implementation of the Command_TextObject and Command classes used in the Command Pattern.
 
file  Command_Exercise.cpp [code]
 Implementation of the Command_Exercise() function as used in the Command Pattern.
 
file  cplusplus/Command_Exercise.h [code]
 Declaration of the Command_Exercise() function as used in the Command Pattern.
 
file  Composite_Exercise.cpp [code]
 Implementation of the Composite_Exercise() function as used in the Composite Pattern.
 
file  cplusplus/Composite_Exercise.h [code]
 Declaration of the Composite_Exercise() function as used in the Composite Pattern.
 
file  Composite_FileAccess.cpp [code]
 Implementation of the Composite_FileAccess class used in the Composite Pattern.
 
file  cplusplus/Composite_FileAccess.h [code]
 Declaration of the Composite_FileAccess class used in the Composite Pattern.
 
file  cplusplus/Composite_FileDirEntry.h [code]
 Implementation of the FileDirEntry, FileEntry, and DirEntry classes used in the Composite Pattern.
 
file  Decorator_Classes.h [code]
 Implementation of the IRenderElement interface, Decorator base class, TextElement class, and the concrete decorator classes used in the Decorator Pattern.
 
file  Decorator_Exercise.cpp [code]
 Implementation of the Decorator_Exercise() function as used in the Decorator Pattern.
 
file  cplusplus/Decorator_Exercise.h [code]
 Declaration of the Decorator_Exercise() function as used in the Decorator Pattern.
 
file  Facade_ComplicatedSubSystem.cpp [code]
 Implementation of the Facade_ComplicatedSubSystem class representing the complicated sub-system used in the Facade Pattern.
 
file  Facade_Exercise.cpp [code]
 Implementation of the Facade_Exercise() function as used in the Facade Pattern.
 
file  cplusplus/Facade_Exercise.h [code]
 Declaration of the Facade_Exercise() function as used in the Facade Pattern.
 
file  Facade_Interface.cpp [code]
 Implementation of the IDeviceNetworkHighLevel interface representing the high-level system used in the Facade Pattern.
 
file  cplusplus/Facade_Interface.h [code]
 Declaration of the IDeviceNetworkHighLevel interface representing the high-level system used in the Facade Pattern.
 
file  FacadeSubsystem_Interface.h [code]
 Declaration of the IDeviceNetworkLowLevel interface representing the complicated sub-system used in the Facade Pattern.
 
file  Flyweight_Classes.cpp [code]
 Implementation of the Flyweight_Class, BigResource, and BigResourceManager classes used in the Flyweight Pattern.
 
file  Flyweight_Classes.h [code]
 Declaration of the Flyweight_Context struct, and the Flyweight_Class, BigResource, and BigResourceManager classes used in the Flyweight Pattern.
 
file  Flyweight_Exercise.cpp [code]
 Implementation of the Flyweight_Exercise() function as used in the Flyweight Pattern.
 
file  cplusplus/Flyweight_Exercise.h [code]
 Declaration of the Flyweight_Exercise() function as used in the Flyweight Pattern.
 
file  HandlerChain_Class.h [code]
 Implementation of the HandlerChain class and declaration of the IMessageHandler interface used in the HandlerChain Pattern.
 
file  HandlerChain_Exercise.cpp [code]
 Implementation of the HandlerChain_Exercise() function as used in the HandlerChain Pattern.
 
file  cplusplus/HandlerChain_Exercise.h [code]
 Declaration of the HandlerChain_Exercise() function as used in the HandlerChain Pattern.
 
file  HandlerChain_Message_Class.h [code]
 Implementation of the Message and MessagePosition structs used in the HandlerChain Pattern.
 
file  HandlerChain_MessageWindow_Class.cpp [code]
 Implementation of the MessageWindow class used in the HandlerChain Pattern.
 
file  HandlerChain_MessageWindow_Class.h [code]
 Declaration of the MessageWindow class and WindowRectangle class used in the HandlerChain Pattern.
 
file  Interpreter_Class.cpp [code]
 Implementation of the Interpreter_Class class used in the Interpreter Pattern.
 
file  Interpreter_Class.h [code]
 Declaration of the Interpreter_Class class used in the Interpreter Pattern.
 
file  Interpreter_Exercise.cpp [code]
 Implementation of the Interpreter_Exercise() function as used in the Interpreter Pattern.
 
file  cplusplus/Interpreter_Exercise.h [code]
 Declaration of the Interpreter_Exercise() function as used in the Interpreter Pattern.
 
file  Iterator_Class.cpp [code]
 Implementation of the IteratorContainer_Class class as used in the Iterator Pattern.
 
file  Iterator_Class.h [code]
 Declaration of the IteratorContainer_Class class, the IIterator interface, along with the implementations of the Iterator and ItemPair classes as used in the Iterator Pattern.
 
file  Iterator_Exercise.cpp [code]
 Implementation of the Iterator_Exercise() function as used in the Iterator Pattern.
 
file  cplusplus/Iterator_Exercise.h [code]
 Declaration of the Iterator_Exercise() function as used in the Iterator Pattern.
 
file  Mediator_Class.h [code]
 Implementation of the UserGroupsContainer and the UserGroupMediator classes used in the Mediator Pattern.
 
file  Mediator_Exercise.cpp [code]
 Implementation of the Mediator_Exercise() function as used in the Mediator Pattern.
 
file  cplusplus/Mediator_Exercise.h [code]
 Declaration of the Mediator_Exercise() function as used in the Mediator Pattern.
 
file  Mediator_Group_Classes.h [code]
 Implementation of the Group and the GroupList classes used in the Mediator Pattern.
 
file  Mediator_User_Classes.h [code]
 Implementation of the User and the UserList classes used in the Mediator Pattern.
 
file  Memento.h [code]
 Implementation of the Memento_TextObject class used in the Memento Pattern.
 
file  Memento_Exercise.cpp [code]
 Implementation of the Memento_Exercise() function as used in the Memento Pattern.
 
file  cplusplus/Memento_Exercise.h [code]
 Declaration of the Memento_Exercise() function as used in the Memento Pattern.
 
file  Null_Object.h [code]
 Implementation of the MoveProcessor class and the MoveCommand base class, along with the various MoveXX classes used in the Null Object Pattern.
 
file  NullObject_Exercise.cpp [code]
 Implementation of the NullObject_Exercise() function as used in the Null Object Pattern.
 
file  cplusplus/NullObject_Exercise.h [code]
 Declaration of the NullObject_Exercise() function as used in the Null Object Pattern.
 
file  Observer_Class.h [code]
 Implementation for the ObserverForDecimal, ObserverForHexaDecimal, and ObserverForBinary classes used in the Observer Pattern.
 
file  Observer_Exercise.cpp [code]
 Implementation of the Observer_Exercise() function as used in the Observer Pattern.
 
file  cplusplus/Observer_Exercise.h [code]
 Declaration of the Observer_Exercise() function as used in the Observer Pattern.
 
file  ObserverSubject_NumberProducer.h [code]
 The IObserverNumberChanged, IEventNotifications, and INumberProducer interfaces, and the ObserverSubject_NumberProducer class used in the Observer Pattern.
 
file  program.cpp [code]
 Implementation of the main() entry point and the machinery to call all the design pattern example functions. See Main Overview.
 
file  Proxy_Class.cpp [code]
 Implementation of the IWorkByProxy interface and the Proxy_Classes_Container class used in the Proxy Pattern.
 
file  Proxy_Class.h [code]
 Declaration of the IWorkByProxy interface and the Proxy_Classes_Container class used in the Proxy Pattern.
 
file  Proxy_Exercise.cpp [code]
 Implementation of the Proxy_Exercise() function as used in the Proxy Pattern.
 
file  cplusplus/Proxy_Exercise.h [code]
 Declaration of the Proxy_Exercise() function as used in the Proxy Pattern.
 
file  cplusplus/resource.h [code]
 
file  State_Class.cpp [code]
 Implementation of the IStateContext and IStateBehavior interfaces, along with the private implementation of the StateContext_ClassImpl class and the various StateXXX classes used in the State Pattern.
 
file  State_Class.h [code]
 Declaration of the IStateContext and IStateBehavior interfaces, as well as the StateContext_Class class used in the State Pattern.
 
file  State_Exercise.cpp [code]
 Implementation of the State_Exercise() function as used in the State Pattern.
 
file  cplusplus/State_Exercise.h [code]
 Declaration of the State_Exercise() function as used in the State Pattern.
 
file  Strategy_EntryInformation.h [code]
 
file  Strategy_Exercise.cpp [code]
 Implementation of the Strategy_Exercise() function as used in the Strategy Pattern.
 
file  cplusplus/Strategy_Exercise.h [code]
 Declaration of the Strategy_Exercise() function as used in the Strategy Pattern.
 
file  Strategy_ISortEntries.h [code]
 Declaration of the ISortEntries interface as used in the Strategy Pattern.
 
file  Strategy_ShowEntries_Class.h [code]
 Implementation of the Strategy_ShowEntries_Class classes used in the Strategy Pattern.
 
file  Strategy_SortEntries_Classes.cpp [code]
 Implementation of the Strategy_SortEntries_ClassFactory class as used in the Strategy Pattern.
 
file  Strategy_SortEntries_Classes.h [code]
 Declaration of the Strategy_SortEntries_ClassFactory class and implementation of the various StrategyXXX classes that implement the ISortEntries interface as used in the Strategy Pattern.
 
file  Visitor_Element_Classes.cpp [code]
 Implementation of the Visitor_Shop base class used in the Visitor Pattern.
 
file  Visitor_Element_Classes.h [code]
 Declaration of the Visitor base class and the various shop classes used in the Visitor Pattern.
 
file  Visitor_Exercise.cpp [code]
 Implementation of the Visitor_Exercise() function as used in the Visitor Pattern.
 
file  cplusplus/Visitor_Exercise.h [code]
 Declaration of the Visitor_Exercise() function as used in the Visitor Pattern.
 
file  cplusplus/Visitor_Shop.h [code]
 Declaration of the Visitor_Shop base class used in the Visitor Pattern.
 
file  Visitor_Village.cpp [code]
 Implementation of the Visitor_Village class used in the Visitor Pattern.
 
file  cplusplus/Visitor_Village.h [code]
 Declaration of the Visitor_Village class used in the Visitor Pattern.
 
file  Visitor_Visitor_Class.h [code]
 Implementation of the OrderVisitor class used in the Visitor Pattern.