Skip to content

Implementations of 13 Design Patterns in Structural, Behavioral, and Creational types in CPP, with explanation, and with circle prevention in Composite hierarchy DP.

Notifications You must be signed in to change notification settings

IsraelCohen54/Design-Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design-Patterns CPP.

Design pattern implemented types are:
Structural (relations between classes),
Creational (creating objects),
Behavioural (allowing changes at runtime).
I have added explanations and circle prevention in the hierarchy of Composite DP.

Structural:
Class Adapter, Object Adapter, Bridge, Composite, Decorator, Proxy,
Flyweight (Python project at its own repository).

Creational:
Factory, Abstruct Factory, Prototype, Singelton, Builder,
Builder_immutebale_object + IOC (=inversion_of_control - user control).

Behavioural:
Observer, State.

(not implemented but important, a reminder:
Behavioural:
Iterator,
Command (encapsulation, and save commands to later use),
Strategy (change algorithm behavior at runtime),
Interpreter(used with language/math understanding)).

To my use, if ever needed:
Added three files, the first one with some examples of STL (Standard Template Library) usage,
the second contains the implementations of CCTOR (copy constructor) and the like,

About

Implementations of 13 Design Patterns in Structural, Behavioral, and Creational types in CPP, with explanation, and with circle prevention in Composite hierarchy DP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages