- Notifications
You must be signed in to change notification settings - Fork969
JakubVojvoda/design-patterns-cpp
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Software design patterns are general reusable solutions to problems which occurover and over again in object-oriented design enviroment. It is not a finisheddesign that can be transformed into source code directly, but it is template howto solve the problem. We can classify them by purpose into creational (abstractthe instantiation process), structure (how classes and objects are composed to formlarger structures) and behavioral patterns (the assignment of responsibilities betweenobjects).
- Abstract Factory, families of product objects
- Builder, how a composite object gets created
- Factory Method, subclass of object that is instantiated
- Prototype, class of object that is instantiated
- Singleton, the sole instance of a class
- Adapter, interface to an object
- Bridge, implementation of an object
- Composite, structure and composition of an object
- Decorator, responsibilities of an object without subclassing
- Façade, interface to a subsystem
- Flyweight, storage costs of objects
- Proxy, how an object is accessed (its location)
- Chain of Responsibility, object that can fulfill a request
- Command, when and how a request is fulfilled
- Interpreter, grammar and interpretation of a language
- Iterator, how an aggregate's elements are accessed
- Mediator, how and which objects interact with each other
- Memento, what private information is stored outside an object, and when
- Observer, how the dependent objects stay up to date
- State, states of an object
- Strategy, an algorithm
- Template Method, steps of an algorithm
- Visitor, operations that can be applied to objects without changing their classes
In my repository you can find implementation of desgin patterns also in languages as
Design patterns in this repository are based on
About
C++ Design Patterns
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.