Description: This is an example of design patterns on the demo. Interpreter on the iterator pattern and there is no demo mode.
The value of code is: If you are not familiar with design patterns, these examples can you learn in the process of design patterns to help you better understand.
If you want to do the project directly, it is too simple a.
Author Yu Yang to retain the copyright but you are free to use it.
I reserves the right to modify and publish the code of rights, others do not allow the dissemination of the code.
Function code in the design variables where some of the details and not ideal, but I will try my best to the task in my planning time.
If you would be better examples of the revised model for the design or your use of the understanding have their own examples in order to better to describe a model
Welcome to contact me kojiyijian@gmail.com
To Search:
File list (Check if you may need any files):
DesignPattern
.............\DesignPattern.vcproj
.............\ReadMe.txt
.............\src
.............\...\AbstractFactory.cpp
.............\...\AbstractFactory.h
.............\...\Adapter.cpp
.............\...\Adapter.h
.............\...\Brideg.cpp
.............\...\Bridge.h
.............\...\Builder.cpp
.............\...\Builder.h
.............\...\ChainOfResponsibility.cpp
.............\...\ChainOfResponsibility.h
.............\...\Command.cpp
.............\...\Command.h
.............\...\Composite.cpp
.............\...\Composite.h
.............\...\Decorator.cpp
.............\...\Decorator.h
.............\...\Facade.cpp
.............\...\Facade.h
.............\...\FactoryMethod.cpp
.............\...\FactoryMethod.h
.............\...\Flyweight.cpp
.............\...\Flyweight.h
.............\...\main.cpp
.............\...\Mediator.cpp
.............\...\Mediator.h
.............\...\Observer.cpp
.............\...\Observer.h
.............\...\ProtoType.cpp
.............\...\ProtoType.h
.............\...\Proxy.cpp
.............\...\Proxy.h
.............\...\Singleton.cpp
.............\...\Singleton.h
.............\...\State.cpp
.............\...\State.h
.............\...\Strategy.cpp
.............\...\Strategy.h
.............\...\TemplateMethod.cpp
.............\...\TemplateMethod.h
.............\...\Visitor.cpp
.............\...\Visitor.h