├── .gitignore ├── AbstractFactory ├── CMakeLists.txt ├── include │ └── AbstractFactory │ │ ├── Android │ │ ├── AndroidButton.h │ │ ├── AndroidFactory.h │ │ ├── AndroidLabel.h │ │ └── AndroidPanel.h │ │ ├── ButtonInterface.h │ │ ├── IOS │ │ ├── IOSButton.h │ │ ├── IOSFactory.h │ │ ├── IOSLabel.h │ │ └── IOSPanel.h │ │ ├── LabelInterface.h │ │ ├── PanelInterface.h │ │ ├── SquareBoard.h │ │ └── UIFactoryInterface.h └── src │ ├── AbstractFactory │ ├── Android │ │ ├── AndroidButton.cpp │ │ ├── AndroidFactory.cpp │ │ ├── AndroidLabel.cpp │ │ └── AndroidPanel.cpp │ ├── IOS │ │ ├── IOSButton.cpp │ │ ├── IOSFactory.cpp │ │ ├── IOSLabel.cpp │ │ └── IOSPanel.cpp │ └── SquareBoard.cpp │ └── main.cpp ├── Adapter ├── CMakeLists.txt ├── include │ └── Adapter │ │ ├── IUnbelievableAdapter.h │ │ ├── MySQLAdapter.h │ │ ├── MySQL_Driver.h │ │ ├── PostgresAdapter.h │ │ ├── Postgres_Driver.h │ │ ├── UnbelievableDatabaseConnector.h │ │ └── UnbelievableDatabaseParams.h └── src │ ├── Adapter │ ├── MySQLAdapter.cpp │ ├── MySQL_Driver.cpp │ ├── PostgresAdapter.cpp │ ├── Postgres_Driver.cpp │ ├── UnbelievableDatabaseConnector.cpp │ └── UnbelievableDatabaseParams.cpp │ └── main.cpp ├── Bridge ├── CMakeLists.txt ├── include │ └── Bridge │ │ ├── Bus.h │ │ ├── Car.h │ │ ├── IInkColor.h │ │ ├── IVehicle.h │ │ ├── Motorcycle.h │ │ ├── RedInk.h │ │ ├── Truck.h │ │ ├── VehicleBridge.h │ │ └── WhiteInk.h └── src │ ├── Bridge │ ├── Bus.cpp │ ├── Car.cpp │ ├── Motorcycle.cpp │ ├── RedInk.cpp │ ├── Truck.cpp │ ├── VehicleBridge.cpp │ └── WhiteInk.cpp │ └── main.cpp ├── Builder ├── CMakeLists.txt ├── include │ └── Builder │ │ ├── IOrderable.h │ │ ├── Order.h │ │ ├── Pizza.h │ │ ├── PizzaBuilder.h │ │ ├── Size.h │ │ ├── StuffedCrust.h │ │ └── Topping.h ├── src │ ├── Builder │ │ ├── Order.cpp │ │ ├── Pizza.cpp │ │ └── PizzaBuilder.cpp │ └── main.cpp └── test │ ├── Builder │ ├── OrderTest.cpp │ └── PizzaTest.cpp │ ├── CMakeLists.txt │ └── Runner.cpp ├── CMakeLists.txt ├── ChainOfResponsibility ├── CMakeLists.txt ├── include │ └── ChainOfResponsibility │ │ ├── ATMBankHandler.h │ │ ├── ATMStation.h │ │ ├── BankOption.h │ │ ├── Citibank.h │ │ ├── HSBC.h │ │ ├── Itau.h │ │ └── Santander.h └── src │ ├── ChainOfResponsibility │ ├── ATMBankHandler.cpp │ ├── ATMLStation.cpp │ ├── Citibank.cpp │ ├── HSBC.cpp │ ├── Itau.cpp │ └── Santander.cpp │ └── main.cpp ├── Command ├── CMakeLists.txt ├── include │ └── Command │ │ ├── Action.h │ │ ├── Calculator.h │ │ ├── Command.h │ │ ├── Factory │ │ ├── CalculatorCommandFactory.h │ │ ├── CommandFactory.h │ │ ├── DivideFactory.h │ │ ├── MultiplyFactory.h │ │ ├── SubtractFactory.h │ │ └── SumFactory.h │ │ ├── Function │ │ ├── Divide.h │ │ ├── Multiply.h │ │ ├── Subtract.h │ │ └── Sum.h │ │ ├── Invoker.h │ │ ├── Operation │ │ ├── Addition.h │ │ ├── Division.h │ │ ├── Multiplication.h │ │ └── Subtraction.h │ │ └── Receiver.h └── src │ ├── Command │ ├── Calculator.cpp │ ├── Factory │ │ ├── CalculatorCommandFactory.cpp │ │ ├── DivideFactory.cpp │ │ ├── MultiplyFactory.cpp │ │ ├── SubtractFactory.cpp │ │ └── SumFactory.cpp │ ├── Function │ │ ├── Divide.cpp │ │ ├── Multiply.cpp │ │ ├── Subtract.cpp │ │ └── Sum.cpp │ ├── Invoker.cpp │ ├── Operation │ │ ├── Addition.cpp │ │ ├── Division.cpp │ │ ├── Multiplication.cpp │ │ └── Subtraction.cpp │ └── Receiver.cpp │ └── main.cpp ├── Composite ├── CMakeLists.txt ├── include │ └── Composite │ │ ├── Add.h │ │ ├── Divide.h │ │ ├── Expression.h │ │ ├── IOperand.h │ │ ├── Multiply.h │ │ ├── Number.h │ │ └── Subtract.h └── src │ ├── Composite │ ├── Add.cpp │ ├── Divide.cpp │ ├── Expression.cpp │ ├── Multiply.cpp │ ├── Number.cpp │ └── Subtract.cpp │ └── main.cpp ├── Decorator ├── CMakeLists.txt ├── include │ └── Decorator │ │ ├── BluetoothDecorator.h │ │ ├── CarDecorator.h │ │ ├── ICar.h │ │ ├── MediaStereoDecorator.h │ │ ├── SimpleCar.h │ │ └── SmartDriveAssitantDecorator.h └── src │ ├── Decorator │ ├── BluetoothDecorator.cpp │ ├── CarDecorator.cpp │ ├── MediaStereoDecorator.cpp │ ├── SimpleCar.cpp │ └── SmartDriveAssitantDecorator.cpp │ └── main.cpp ├── Facade ├── CMakeLists.txt ├── include │ └── Facade │ │ ├── Car.h │ │ ├── InventoryService.h │ │ ├── PaymentService.h │ │ ├── Renter.h │ │ └── RentingServiceFacade.h └── src │ ├── Facade │ ├── Car.cpp │ ├── InventoryService.cpp │ ├── PaymentService.cpp │ ├── Renter.cpp │ └── RentingServiceFacade.cpp │ └── main.cpp ├── FactoryMethod ├── CMakeLists.txt ├── include │ └── FactoryMethod │ │ ├── ICar.h │ │ ├── ICarFactory.h │ │ ├── ModelS.h │ │ ├── NissanFactory.h │ │ ├── Skyline.h │ │ └── TeslaFactory.h └── src │ ├── FactoryMethod │ ├── ModelS.cpp │ ├── NissanFactory.cpp │ ├── Skyline.cpp │ └── TeslaFactory.cpp │ └── main.cpp ├── Flyweight ├── CMakeLists.txt ├── include │ └── Flyweight │ │ ├── AbstractItem.h │ │ ├── Enemy.h │ │ ├── IItemFlyweight.h │ │ ├── ItemFactory.h │ │ ├── ItemType.h │ │ ├── LandMine.h │ │ ├── Lego.h │ │ ├── Player.h │ │ └── Point.h └── src │ ├── Flyweight │ ├── AbstractItem.cpp │ ├── Enemy.cpp │ ├── ItemFactory.cpp │ ├── LandMine.cpp │ ├── Lego.cpp │ ├── Player.cpp │ └── Point.cpp │ └── main.cpp ├── Interpreter ├── CMakeLists.txt ├── include │ └── Interpreter │ │ ├── Hundred.h │ │ ├── InterpreterContext.h │ │ ├── One.h │ │ ├── RomanNumberInterpreter.h │ │ ├── Ten.h │ │ └── Thousand.h └── src │ ├── Interpreter │ ├── Hundred.cpp │ ├── InterpreterContext.cpp │ ├── One.cpp │ ├── RomanNumberInterpreter.cpp │ ├── Ten.cpp │ └── Thousand.cpp │ └── main.cpp ├── Iterator ├── CMakeLists.txt ├── include │ └── Iterator │ │ ├── CinemotionPlatform.h │ │ ├── IMoviesCollection.h │ │ ├── IMoviesIterator.h │ │ ├── Movie.h │ │ └── MoviesIterator.h └── src │ ├── Iterator │ ├── CinemotionPlatform.cpp │ ├── Movie.cpp │ └── MoviesIterator.cpp │ └── main.cpp ├── LICENSE.md ├── Mediator ├── CMakeLists.txt ├── include │ └── Mediator │ │ ├── ITrafficSignal.h │ │ ├── ITrafficSignalsMediator.h │ │ ├── PedestrianControlLight.h │ │ ├── SemaphoreLight.h │ │ ├── Signal.h │ │ ├── TrafficSignal.h │ │ └── TrafficSignalsMediator.h └── src │ ├── Mediator │ ├── PedestrianControlLight.cpp │ ├── SemaphoreLight.cpp │ ├── TrafficSignal.cpp │ └── TrafficSignalsMediator.cpp │ └── main.cpp ├── Memento ├── CMakeLists.txt ├── include │ └── Memento │ │ ├── Book.h │ │ ├── BookManager.h │ │ ├── BookManagerMemento.h │ │ └── MementoCaretaker.h └── src │ ├── Memento │ ├── Book.cpp │ ├── BookManager.cpp │ ├── BookManagerMemento.cpp │ └── MementoCaretaker.cpp │ └── main.cpp ├── Observer ├── CMakeLists.txt ├── include │ └── Observer │ │ ├── Event │ │ ├── Event.h │ │ ├── KeyboardEvent.h │ │ ├── MouseEvent.h │ │ └── TouchEvent.h │ │ ├── IObserver.h │ │ ├── Listener │ │ └── EventListener.h │ │ └── Subject.h └── src │ ├── Observer │ ├── Event │ │ ├── Event.cpp │ │ ├── KeyboardEvent.cpp │ │ ├── MouseEvent.cpp │ │ └── TouchEvent.cpp │ ├── Listener │ │ └── EventListener.cpp │ └── Subject.cpp │ └── main.cpp ├── Prototype ├── CMakeLists.txt ├── include │ └── Prototype │ │ ├── BlackSquare.h │ │ ├── CheckersBoard.h │ │ ├── ISquare.h │ │ ├── SquareOption.h │ │ └── WhiteSquare.h └── src │ ├── Prototype │ ├── BalackSquare.cpp │ ├── CheckersBoard.cpp │ └── WhiteSquare.cpp │ └── main.cpp ├── Proxy ├── CMakeLists.txt ├── include │ └── Proxy │ │ ├── IBankAccount.h │ │ ├── ProxyBankAccount.h │ │ └── RealBankAccount.h └── src │ ├── Proxy │ ├── ProxyBankAccount.cpp │ └── RealBankAccount.cpp │ └── main.cpp ├── README.md ├── Singleton ├── CMakeLists.txt ├── include │ └── Singleton │ │ ├── Authentication.h │ │ ├── Authorization.h │ │ ├── Printer.h │ │ └── Session.h ├── src │ ├── Singleton │ │ ├── Authentication.cpp │ │ ├── Authorization.cpp │ │ ├── Printer.cpp │ │ └── Session.cpp │ └── main.cpp └── test │ ├── CMakeLists.txt │ └── Singleton │ └── SessionTest.cpp ├── State ├── CMakeLists.txt ├── README.md ├── include │ └── State │ │ ├── AbstractState.h │ │ ├── CalculationHandler.h │ │ ├── EmptyState.h │ │ ├── Engine.h │ │ ├── IState.h │ │ ├── OperandLeftState.h │ │ ├── OperandRightState.h │ │ ├── Operation.h │ │ ├── OperationState.h │ │ ├── ResultState.h │ │ └── StateContext.h └── src │ ├── State │ ├── AbstractState.cpp │ ├── CalculationHandler.cpp │ ├── EmptyState.cpp │ ├── Engine.cpp │ ├── OperandLeftState.cpp │ ├── OperandRightState.cpp │ ├── OperationState.cpp │ ├── ResultState.cpp │ └── StateContext.cpp │ └── main.cpp ├── Strategy ├── CMakeLists.txt ├── include │ └── Strategy │ │ ├── AVIStrategy.h │ │ ├── FLVStrategy.h │ │ ├── GenericVideoPlayer.h │ │ ├── IVideoStrategy.h │ │ ├── MKVStrategy.h │ │ ├── MOVStrategy.h │ │ └── MP4Strategy.h └── src │ ├── Strategy │ ├── AVIStrategy.cpp │ ├── FLVStrategy.cpp │ ├── GenericVideoPlayer.cpp │ ├── MKVStrategy.cpp │ ├── MOVStrategy.cpp │ └── MP4Strategy.cpp │ └── main.cpp ├── TemplateMethod ├── CMakeLists.txt ├── include │ └── TemplateMethod │ │ ├── AudioSource.h │ │ ├── FileAudioSource.h │ │ ├── GenericAudioPlayer.h │ │ └── StreamingAudioSource.h └── src │ ├── TemplateMethod │ ├── AudioSource.cpp │ ├── FileAudioSource.cpp │ ├── GenericAudioPlayer.cpp │ └── StreamingAudioSource.cpp │ └── main.cpp └── Visitor ├── CMakeLists.txt ├── include └── Visitor │ ├── AbstractEmployee.h │ ├── CommissionedEmployee.h │ ├── EmployeeInterface.h │ ├── EmployeeVisitableInterface.h │ ├── EmployeeVisitorInterface.h │ ├── HourlyEmployee.h │ ├── NumberOfHoursAndPayReport.h │ └── SalariedEmployee.h ├── src ├── Visitor │ ├── AbstractEmployee.cpp │ ├── CommissionedEmployee.cpp │ ├── HourlyEmployee.cpp │ ├── NumberOfHoursAndPayReport.cpp │ └── SalariedEmployee.cpp └── main.cpp └── tests ├── CMakeLists.txt ├── Runner.cpp └── Visitor ├── CommissionedEmployeeTest.cpp ├── HourlyEmployeeTest.cpp ├── NumberOfHoursAndPayReportTest.cpp └── SalariedEmployeeTest.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/.gitignore -------------------------------------------------------------------------------- /AbstractFactory/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/CMakeLists.txt -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/Android/AndroidButton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/Android/AndroidButton.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/Android/AndroidFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/Android/AndroidFactory.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/Android/AndroidLabel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/Android/AndroidLabel.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/Android/AndroidPanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/Android/AndroidPanel.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/ButtonInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/ButtonInterface.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/IOS/IOSButton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/IOS/IOSButton.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/IOS/IOSFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/IOS/IOSFactory.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/IOS/IOSLabel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/IOS/IOSLabel.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/IOS/IOSPanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/IOS/IOSPanel.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/LabelInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/LabelInterface.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/PanelInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/PanelInterface.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/SquareBoard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/SquareBoard.h -------------------------------------------------------------------------------- /AbstractFactory/include/AbstractFactory/UIFactoryInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/include/AbstractFactory/UIFactoryInterface.h -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/Android/AndroidButton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/Android/AndroidButton.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/Android/AndroidFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/Android/AndroidFactory.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/Android/AndroidLabel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/Android/AndroidLabel.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/Android/AndroidPanel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/Android/AndroidPanel.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/IOS/IOSButton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/IOS/IOSButton.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/IOS/IOSFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/IOS/IOSFactory.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/IOS/IOSLabel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/IOS/IOSLabel.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/IOS/IOSPanel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/IOS/IOSPanel.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/AbstractFactory/SquareBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/AbstractFactory/SquareBoard.cpp -------------------------------------------------------------------------------- /AbstractFactory/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/AbstractFactory/src/main.cpp -------------------------------------------------------------------------------- /Adapter/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/CMakeLists.txt -------------------------------------------------------------------------------- /Adapter/include/Adapter/IUnbelievableAdapter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/include/Adapter/IUnbelievableAdapter.h -------------------------------------------------------------------------------- /Adapter/include/Adapter/MySQLAdapter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/include/Adapter/MySQLAdapter.h -------------------------------------------------------------------------------- /Adapter/include/Adapter/MySQL_Driver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/include/Adapter/MySQL_Driver.h -------------------------------------------------------------------------------- /Adapter/include/Adapter/PostgresAdapter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/include/Adapter/PostgresAdapter.h -------------------------------------------------------------------------------- /Adapter/include/Adapter/Postgres_Driver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/include/Adapter/Postgres_Driver.h -------------------------------------------------------------------------------- /Adapter/include/Adapter/UnbelievableDatabaseConnector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/include/Adapter/UnbelievableDatabaseConnector.h -------------------------------------------------------------------------------- /Adapter/include/Adapter/UnbelievableDatabaseParams.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/include/Adapter/UnbelievableDatabaseParams.h -------------------------------------------------------------------------------- /Adapter/src/Adapter/MySQLAdapter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/src/Adapter/MySQLAdapter.cpp -------------------------------------------------------------------------------- /Adapter/src/Adapter/MySQL_Driver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/src/Adapter/MySQL_Driver.cpp -------------------------------------------------------------------------------- /Adapter/src/Adapter/PostgresAdapter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/src/Adapter/PostgresAdapter.cpp -------------------------------------------------------------------------------- /Adapter/src/Adapter/Postgres_Driver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/src/Adapter/Postgres_Driver.cpp -------------------------------------------------------------------------------- /Adapter/src/Adapter/UnbelievableDatabaseConnector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/src/Adapter/UnbelievableDatabaseConnector.cpp -------------------------------------------------------------------------------- /Adapter/src/Adapter/UnbelievableDatabaseParams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/src/Adapter/UnbelievableDatabaseParams.cpp -------------------------------------------------------------------------------- /Adapter/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Adapter/src/main.cpp -------------------------------------------------------------------------------- /Bridge/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/CMakeLists.txt -------------------------------------------------------------------------------- /Bridge/include/Bridge/Bus.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/Bus.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/Car.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/Car.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/IInkColor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/IInkColor.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/IVehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/IVehicle.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/Motorcycle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/Motorcycle.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/RedInk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/RedInk.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/Truck.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/Truck.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/VehicleBridge.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/VehicleBridge.h -------------------------------------------------------------------------------- /Bridge/include/Bridge/WhiteInk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/include/Bridge/WhiteInk.h -------------------------------------------------------------------------------- /Bridge/src/Bridge/Bus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/Bridge/Bus.cpp -------------------------------------------------------------------------------- /Bridge/src/Bridge/Car.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/Bridge/Car.cpp -------------------------------------------------------------------------------- /Bridge/src/Bridge/Motorcycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/Bridge/Motorcycle.cpp -------------------------------------------------------------------------------- /Bridge/src/Bridge/RedInk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/Bridge/RedInk.cpp -------------------------------------------------------------------------------- /Bridge/src/Bridge/Truck.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/Bridge/Truck.cpp -------------------------------------------------------------------------------- /Bridge/src/Bridge/VehicleBridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/Bridge/VehicleBridge.cpp -------------------------------------------------------------------------------- /Bridge/src/Bridge/WhiteInk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/Bridge/WhiteInk.cpp -------------------------------------------------------------------------------- /Bridge/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Bridge/src/main.cpp -------------------------------------------------------------------------------- /Builder/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/CMakeLists.txt -------------------------------------------------------------------------------- /Builder/include/Builder/IOrderable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/include/Builder/IOrderable.h -------------------------------------------------------------------------------- /Builder/include/Builder/Order.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/include/Builder/Order.h -------------------------------------------------------------------------------- /Builder/include/Builder/Pizza.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/include/Builder/Pizza.h -------------------------------------------------------------------------------- /Builder/include/Builder/PizzaBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/include/Builder/PizzaBuilder.h -------------------------------------------------------------------------------- /Builder/include/Builder/Size.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/include/Builder/Size.h -------------------------------------------------------------------------------- /Builder/include/Builder/StuffedCrust.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/include/Builder/StuffedCrust.h -------------------------------------------------------------------------------- /Builder/include/Builder/Topping.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/include/Builder/Topping.h -------------------------------------------------------------------------------- /Builder/src/Builder/Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/src/Builder/Order.cpp -------------------------------------------------------------------------------- /Builder/src/Builder/Pizza.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/src/Builder/Pizza.cpp -------------------------------------------------------------------------------- /Builder/src/Builder/PizzaBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/src/Builder/PizzaBuilder.cpp -------------------------------------------------------------------------------- /Builder/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/src/main.cpp -------------------------------------------------------------------------------- /Builder/test/Builder/OrderTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/test/Builder/OrderTest.cpp -------------------------------------------------------------------------------- /Builder/test/Builder/PizzaTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/test/Builder/PizzaTest.cpp -------------------------------------------------------------------------------- /Builder/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/test/CMakeLists.txt -------------------------------------------------------------------------------- /Builder/test/Runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Builder/test/Runner.cpp -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /ChainOfResponsibility/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/CMakeLists.txt -------------------------------------------------------------------------------- /ChainOfResponsibility/include/ChainOfResponsibility/ATMBankHandler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/include/ChainOfResponsibility/ATMBankHandler.h -------------------------------------------------------------------------------- /ChainOfResponsibility/include/ChainOfResponsibility/ATMStation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/include/ChainOfResponsibility/ATMStation.h -------------------------------------------------------------------------------- /ChainOfResponsibility/include/ChainOfResponsibility/BankOption.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/include/ChainOfResponsibility/BankOption.h -------------------------------------------------------------------------------- /ChainOfResponsibility/include/ChainOfResponsibility/Citibank.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/include/ChainOfResponsibility/Citibank.h -------------------------------------------------------------------------------- /ChainOfResponsibility/include/ChainOfResponsibility/HSBC.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/include/ChainOfResponsibility/HSBC.h -------------------------------------------------------------------------------- /ChainOfResponsibility/include/ChainOfResponsibility/Itau.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/include/ChainOfResponsibility/Itau.h -------------------------------------------------------------------------------- /ChainOfResponsibility/include/ChainOfResponsibility/Santander.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/include/ChainOfResponsibility/Santander.h -------------------------------------------------------------------------------- /ChainOfResponsibility/src/ChainOfResponsibility/ATMBankHandler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/src/ChainOfResponsibility/ATMBankHandler.cpp -------------------------------------------------------------------------------- /ChainOfResponsibility/src/ChainOfResponsibility/ATMLStation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/src/ChainOfResponsibility/ATMLStation.cpp -------------------------------------------------------------------------------- /ChainOfResponsibility/src/ChainOfResponsibility/Citibank.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/src/ChainOfResponsibility/Citibank.cpp -------------------------------------------------------------------------------- /ChainOfResponsibility/src/ChainOfResponsibility/HSBC.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/src/ChainOfResponsibility/HSBC.cpp -------------------------------------------------------------------------------- /ChainOfResponsibility/src/ChainOfResponsibility/Itau.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/src/ChainOfResponsibility/Itau.cpp -------------------------------------------------------------------------------- /ChainOfResponsibility/src/ChainOfResponsibility/Santander.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/src/ChainOfResponsibility/Santander.cpp -------------------------------------------------------------------------------- /ChainOfResponsibility/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/ChainOfResponsibility/src/main.cpp -------------------------------------------------------------------------------- /Command/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/CMakeLists.txt -------------------------------------------------------------------------------- /Command/include/Command/Action.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Action.h -------------------------------------------------------------------------------- /Command/include/Command/Calculator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Calculator.h -------------------------------------------------------------------------------- /Command/include/Command/Command.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Command.h -------------------------------------------------------------------------------- /Command/include/Command/Factory/CalculatorCommandFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Factory/CalculatorCommandFactory.h -------------------------------------------------------------------------------- /Command/include/Command/Factory/CommandFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Factory/CommandFactory.h -------------------------------------------------------------------------------- /Command/include/Command/Factory/DivideFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Factory/DivideFactory.h -------------------------------------------------------------------------------- /Command/include/Command/Factory/MultiplyFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Factory/MultiplyFactory.h -------------------------------------------------------------------------------- /Command/include/Command/Factory/SubtractFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Factory/SubtractFactory.h -------------------------------------------------------------------------------- /Command/include/Command/Factory/SumFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Factory/SumFactory.h -------------------------------------------------------------------------------- /Command/include/Command/Function/Divide.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Function/Divide.h -------------------------------------------------------------------------------- /Command/include/Command/Function/Multiply.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Function/Multiply.h -------------------------------------------------------------------------------- /Command/include/Command/Function/Subtract.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Function/Subtract.h -------------------------------------------------------------------------------- /Command/include/Command/Function/Sum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Function/Sum.h -------------------------------------------------------------------------------- /Command/include/Command/Invoker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Invoker.h -------------------------------------------------------------------------------- /Command/include/Command/Operation/Addition.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Operation/Addition.h -------------------------------------------------------------------------------- /Command/include/Command/Operation/Division.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Operation/Division.h -------------------------------------------------------------------------------- /Command/include/Command/Operation/Multiplication.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Operation/Multiplication.h -------------------------------------------------------------------------------- /Command/include/Command/Operation/Subtraction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Operation/Subtraction.h -------------------------------------------------------------------------------- /Command/include/Command/Receiver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/include/Command/Receiver.h -------------------------------------------------------------------------------- /Command/src/Command/Calculator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Calculator.cpp -------------------------------------------------------------------------------- /Command/src/Command/Factory/CalculatorCommandFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Factory/CalculatorCommandFactory.cpp -------------------------------------------------------------------------------- /Command/src/Command/Factory/DivideFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Factory/DivideFactory.cpp -------------------------------------------------------------------------------- /Command/src/Command/Factory/MultiplyFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Factory/MultiplyFactory.cpp -------------------------------------------------------------------------------- /Command/src/Command/Factory/SubtractFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Factory/SubtractFactory.cpp -------------------------------------------------------------------------------- /Command/src/Command/Factory/SumFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Factory/SumFactory.cpp -------------------------------------------------------------------------------- /Command/src/Command/Function/Divide.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Function/Divide.cpp -------------------------------------------------------------------------------- /Command/src/Command/Function/Multiply.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Function/Multiply.cpp -------------------------------------------------------------------------------- /Command/src/Command/Function/Subtract.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Function/Subtract.cpp -------------------------------------------------------------------------------- /Command/src/Command/Function/Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Function/Sum.cpp -------------------------------------------------------------------------------- /Command/src/Command/Invoker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Invoker.cpp -------------------------------------------------------------------------------- /Command/src/Command/Operation/Addition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Operation/Addition.cpp -------------------------------------------------------------------------------- /Command/src/Command/Operation/Division.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Operation/Division.cpp -------------------------------------------------------------------------------- /Command/src/Command/Operation/Multiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Operation/Multiplication.cpp -------------------------------------------------------------------------------- /Command/src/Command/Operation/Subtraction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Operation/Subtraction.cpp -------------------------------------------------------------------------------- /Command/src/Command/Receiver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/Command/Receiver.cpp -------------------------------------------------------------------------------- /Command/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Command/src/main.cpp -------------------------------------------------------------------------------- /Composite/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/CMakeLists.txt -------------------------------------------------------------------------------- /Composite/include/Composite/Add.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/include/Composite/Add.h -------------------------------------------------------------------------------- /Composite/include/Composite/Divide.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/include/Composite/Divide.h -------------------------------------------------------------------------------- /Composite/include/Composite/Expression.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/include/Composite/Expression.h -------------------------------------------------------------------------------- /Composite/include/Composite/IOperand.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/include/Composite/IOperand.h -------------------------------------------------------------------------------- /Composite/include/Composite/Multiply.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/include/Composite/Multiply.h -------------------------------------------------------------------------------- /Composite/include/Composite/Number.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/include/Composite/Number.h -------------------------------------------------------------------------------- /Composite/include/Composite/Subtract.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/include/Composite/Subtract.h -------------------------------------------------------------------------------- /Composite/src/Composite/Add.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/src/Composite/Add.cpp -------------------------------------------------------------------------------- /Composite/src/Composite/Divide.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/src/Composite/Divide.cpp -------------------------------------------------------------------------------- /Composite/src/Composite/Expression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/src/Composite/Expression.cpp -------------------------------------------------------------------------------- /Composite/src/Composite/Multiply.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/src/Composite/Multiply.cpp -------------------------------------------------------------------------------- /Composite/src/Composite/Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/src/Composite/Number.cpp -------------------------------------------------------------------------------- /Composite/src/Composite/Subtract.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/src/Composite/Subtract.cpp -------------------------------------------------------------------------------- /Composite/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Composite/src/main.cpp -------------------------------------------------------------------------------- /Decorator/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/CMakeLists.txt -------------------------------------------------------------------------------- /Decorator/include/Decorator/BluetoothDecorator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/include/Decorator/BluetoothDecorator.h -------------------------------------------------------------------------------- /Decorator/include/Decorator/CarDecorator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/include/Decorator/CarDecorator.h -------------------------------------------------------------------------------- /Decorator/include/Decorator/ICar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/include/Decorator/ICar.h -------------------------------------------------------------------------------- /Decorator/include/Decorator/MediaStereoDecorator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/include/Decorator/MediaStereoDecorator.h -------------------------------------------------------------------------------- /Decorator/include/Decorator/SimpleCar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/include/Decorator/SimpleCar.h -------------------------------------------------------------------------------- /Decorator/include/Decorator/SmartDriveAssitantDecorator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/include/Decorator/SmartDriveAssitantDecorator.h -------------------------------------------------------------------------------- /Decorator/src/Decorator/BluetoothDecorator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/src/Decorator/BluetoothDecorator.cpp -------------------------------------------------------------------------------- /Decorator/src/Decorator/CarDecorator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/src/Decorator/CarDecorator.cpp -------------------------------------------------------------------------------- /Decorator/src/Decorator/MediaStereoDecorator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/src/Decorator/MediaStereoDecorator.cpp -------------------------------------------------------------------------------- /Decorator/src/Decorator/SimpleCar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/src/Decorator/SimpleCar.cpp -------------------------------------------------------------------------------- /Decorator/src/Decorator/SmartDriveAssitantDecorator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/src/Decorator/SmartDriveAssitantDecorator.cpp -------------------------------------------------------------------------------- /Decorator/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Decorator/src/main.cpp -------------------------------------------------------------------------------- /Facade/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/CMakeLists.txt -------------------------------------------------------------------------------- /Facade/include/Facade/Car.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/include/Facade/Car.h -------------------------------------------------------------------------------- /Facade/include/Facade/InventoryService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/include/Facade/InventoryService.h -------------------------------------------------------------------------------- /Facade/include/Facade/PaymentService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/include/Facade/PaymentService.h -------------------------------------------------------------------------------- /Facade/include/Facade/Renter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/include/Facade/Renter.h -------------------------------------------------------------------------------- /Facade/include/Facade/RentingServiceFacade.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/include/Facade/RentingServiceFacade.h -------------------------------------------------------------------------------- /Facade/src/Facade/Car.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/src/Facade/Car.cpp -------------------------------------------------------------------------------- /Facade/src/Facade/InventoryService.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/src/Facade/InventoryService.cpp -------------------------------------------------------------------------------- /Facade/src/Facade/PaymentService.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/src/Facade/PaymentService.cpp -------------------------------------------------------------------------------- /Facade/src/Facade/Renter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/src/Facade/Renter.cpp -------------------------------------------------------------------------------- /Facade/src/Facade/RentingServiceFacade.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/src/Facade/RentingServiceFacade.cpp -------------------------------------------------------------------------------- /Facade/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Facade/src/main.cpp -------------------------------------------------------------------------------- /FactoryMethod/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/CMakeLists.txt -------------------------------------------------------------------------------- /FactoryMethod/include/FactoryMethod/ICar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/include/FactoryMethod/ICar.h -------------------------------------------------------------------------------- /FactoryMethod/include/FactoryMethod/ICarFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/include/FactoryMethod/ICarFactory.h -------------------------------------------------------------------------------- /FactoryMethod/include/FactoryMethod/ModelS.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/include/FactoryMethod/ModelS.h -------------------------------------------------------------------------------- /FactoryMethod/include/FactoryMethod/NissanFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/include/FactoryMethod/NissanFactory.h -------------------------------------------------------------------------------- /FactoryMethod/include/FactoryMethod/Skyline.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/include/FactoryMethod/Skyline.h -------------------------------------------------------------------------------- /FactoryMethod/include/FactoryMethod/TeslaFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/include/FactoryMethod/TeslaFactory.h -------------------------------------------------------------------------------- /FactoryMethod/src/FactoryMethod/ModelS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/src/FactoryMethod/ModelS.cpp -------------------------------------------------------------------------------- /FactoryMethod/src/FactoryMethod/NissanFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/src/FactoryMethod/NissanFactory.cpp -------------------------------------------------------------------------------- /FactoryMethod/src/FactoryMethod/Skyline.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/src/FactoryMethod/Skyline.cpp -------------------------------------------------------------------------------- /FactoryMethod/src/FactoryMethod/TeslaFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/src/FactoryMethod/TeslaFactory.cpp -------------------------------------------------------------------------------- /FactoryMethod/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/FactoryMethod/src/main.cpp -------------------------------------------------------------------------------- /Flyweight/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/CMakeLists.txt -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/AbstractItem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/AbstractItem.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/Enemy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/Enemy.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/IItemFlyweight.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/IItemFlyweight.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/ItemFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/ItemFactory.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/ItemType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/ItemType.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/LandMine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/LandMine.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/Lego.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/Lego.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/Player.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/Player.h -------------------------------------------------------------------------------- /Flyweight/include/Flyweight/Point.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/include/Flyweight/Point.h -------------------------------------------------------------------------------- /Flyweight/src/Flyweight/AbstractItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/Flyweight/AbstractItem.cpp -------------------------------------------------------------------------------- /Flyweight/src/Flyweight/Enemy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/Flyweight/Enemy.cpp -------------------------------------------------------------------------------- /Flyweight/src/Flyweight/ItemFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/Flyweight/ItemFactory.cpp -------------------------------------------------------------------------------- /Flyweight/src/Flyweight/LandMine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/Flyweight/LandMine.cpp -------------------------------------------------------------------------------- /Flyweight/src/Flyweight/Lego.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/Flyweight/Lego.cpp -------------------------------------------------------------------------------- /Flyweight/src/Flyweight/Player.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/Flyweight/Player.cpp -------------------------------------------------------------------------------- /Flyweight/src/Flyweight/Point.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/Flyweight/Point.cpp -------------------------------------------------------------------------------- /Flyweight/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Flyweight/src/main.cpp -------------------------------------------------------------------------------- /Interpreter/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/CMakeLists.txt -------------------------------------------------------------------------------- /Interpreter/include/Interpreter/Hundred.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/include/Interpreter/Hundred.h -------------------------------------------------------------------------------- /Interpreter/include/Interpreter/InterpreterContext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/include/Interpreter/InterpreterContext.h -------------------------------------------------------------------------------- /Interpreter/include/Interpreter/One.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/include/Interpreter/One.h -------------------------------------------------------------------------------- /Interpreter/include/Interpreter/RomanNumberInterpreter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/include/Interpreter/RomanNumberInterpreter.h -------------------------------------------------------------------------------- /Interpreter/include/Interpreter/Ten.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/include/Interpreter/Ten.h -------------------------------------------------------------------------------- /Interpreter/include/Interpreter/Thousand.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/include/Interpreter/Thousand.h -------------------------------------------------------------------------------- /Interpreter/src/Interpreter/Hundred.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/src/Interpreter/Hundred.cpp -------------------------------------------------------------------------------- /Interpreter/src/Interpreter/InterpreterContext.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/src/Interpreter/InterpreterContext.cpp -------------------------------------------------------------------------------- /Interpreter/src/Interpreter/One.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/src/Interpreter/One.cpp -------------------------------------------------------------------------------- /Interpreter/src/Interpreter/RomanNumberInterpreter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/src/Interpreter/RomanNumberInterpreter.cpp -------------------------------------------------------------------------------- /Interpreter/src/Interpreter/Ten.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/src/Interpreter/Ten.cpp -------------------------------------------------------------------------------- /Interpreter/src/Interpreter/Thousand.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/src/Interpreter/Thousand.cpp -------------------------------------------------------------------------------- /Interpreter/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Interpreter/src/main.cpp -------------------------------------------------------------------------------- /Iterator/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/CMakeLists.txt -------------------------------------------------------------------------------- /Iterator/include/Iterator/CinemotionPlatform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/include/Iterator/CinemotionPlatform.h -------------------------------------------------------------------------------- /Iterator/include/Iterator/IMoviesCollection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/include/Iterator/IMoviesCollection.h -------------------------------------------------------------------------------- /Iterator/include/Iterator/IMoviesIterator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/include/Iterator/IMoviesIterator.h -------------------------------------------------------------------------------- /Iterator/include/Iterator/Movie.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/include/Iterator/Movie.h -------------------------------------------------------------------------------- /Iterator/include/Iterator/MoviesIterator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/include/Iterator/MoviesIterator.h -------------------------------------------------------------------------------- /Iterator/src/Iterator/CinemotionPlatform.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/src/Iterator/CinemotionPlatform.cpp -------------------------------------------------------------------------------- /Iterator/src/Iterator/Movie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/src/Iterator/Movie.cpp -------------------------------------------------------------------------------- /Iterator/src/Iterator/MoviesIterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/src/Iterator/MoviesIterator.cpp -------------------------------------------------------------------------------- /Iterator/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Iterator/src/main.cpp -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Mediator/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/CMakeLists.txt -------------------------------------------------------------------------------- /Mediator/include/Mediator/ITrafficSignal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/include/Mediator/ITrafficSignal.h -------------------------------------------------------------------------------- /Mediator/include/Mediator/ITrafficSignalsMediator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/include/Mediator/ITrafficSignalsMediator.h -------------------------------------------------------------------------------- /Mediator/include/Mediator/PedestrianControlLight.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/include/Mediator/PedestrianControlLight.h -------------------------------------------------------------------------------- /Mediator/include/Mediator/SemaphoreLight.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/include/Mediator/SemaphoreLight.h -------------------------------------------------------------------------------- /Mediator/include/Mediator/Signal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/include/Mediator/Signal.h -------------------------------------------------------------------------------- /Mediator/include/Mediator/TrafficSignal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/include/Mediator/TrafficSignal.h -------------------------------------------------------------------------------- /Mediator/include/Mediator/TrafficSignalsMediator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/include/Mediator/TrafficSignalsMediator.h -------------------------------------------------------------------------------- /Mediator/src/Mediator/PedestrianControlLight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/src/Mediator/PedestrianControlLight.cpp -------------------------------------------------------------------------------- /Mediator/src/Mediator/SemaphoreLight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/src/Mediator/SemaphoreLight.cpp -------------------------------------------------------------------------------- /Mediator/src/Mediator/TrafficSignal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/src/Mediator/TrafficSignal.cpp -------------------------------------------------------------------------------- /Mediator/src/Mediator/TrafficSignalsMediator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/src/Mediator/TrafficSignalsMediator.cpp -------------------------------------------------------------------------------- /Mediator/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Mediator/src/main.cpp -------------------------------------------------------------------------------- /Memento/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/CMakeLists.txt -------------------------------------------------------------------------------- /Memento/include/Memento/Book.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/include/Memento/Book.h -------------------------------------------------------------------------------- /Memento/include/Memento/BookManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/include/Memento/BookManager.h -------------------------------------------------------------------------------- /Memento/include/Memento/BookManagerMemento.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/include/Memento/BookManagerMemento.h -------------------------------------------------------------------------------- /Memento/include/Memento/MementoCaretaker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/include/Memento/MementoCaretaker.h -------------------------------------------------------------------------------- /Memento/src/Memento/Book.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/src/Memento/Book.cpp -------------------------------------------------------------------------------- /Memento/src/Memento/BookManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/src/Memento/BookManager.cpp -------------------------------------------------------------------------------- /Memento/src/Memento/BookManagerMemento.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/src/Memento/BookManagerMemento.cpp -------------------------------------------------------------------------------- /Memento/src/Memento/MementoCaretaker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/src/Memento/MementoCaretaker.cpp -------------------------------------------------------------------------------- /Memento/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Memento/src/main.cpp -------------------------------------------------------------------------------- /Observer/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/CMakeLists.txt -------------------------------------------------------------------------------- /Observer/include/Observer/Event/Event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/include/Observer/Event/Event.h -------------------------------------------------------------------------------- /Observer/include/Observer/Event/KeyboardEvent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/include/Observer/Event/KeyboardEvent.h -------------------------------------------------------------------------------- /Observer/include/Observer/Event/MouseEvent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/include/Observer/Event/MouseEvent.h -------------------------------------------------------------------------------- /Observer/include/Observer/Event/TouchEvent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/include/Observer/Event/TouchEvent.h -------------------------------------------------------------------------------- /Observer/include/Observer/IObserver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/include/Observer/IObserver.h -------------------------------------------------------------------------------- /Observer/include/Observer/Listener/EventListener.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/include/Observer/Listener/EventListener.h -------------------------------------------------------------------------------- /Observer/include/Observer/Subject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/include/Observer/Subject.h -------------------------------------------------------------------------------- /Observer/src/Observer/Event/Event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/src/Observer/Event/Event.cpp -------------------------------------------------------------------------------- /Observer/src/Observer/Event/KeyboardEvent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/src/Observer/Event/KeyboardEvent.cpp -------------------------------------------------------------------------------- /Observer/src/Observer/Event/MouseEvent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/src/Observer/Event/MouseEvent.cpp -------------------------------------------------------------------------------- /Observer/src/Observer/Event/TouchEvent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/src/Observer/Event/TouchEvent.cpp -------------------------------------------------------------------------------- /Observer/src/Observer/Listener/EventListener.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/src/Observer/Listener/EventListener.cpp -------------------------------------------------------------------------------- /Observer/src/Observer/Subject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/src/Observer/Subject.cpp -------------------------------------------------------------------------------- /Observer/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Observer/src/main.cpp -------------------------------------------------------------------------------- /Prototype/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/CMakeLists.txt -------------------------------------------------------------------------------- /Prototype/include/Prototype/BlackSquare.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/include/Prototype/BlackSquare.h -------------------------------------------------------------------------------- /Prototype/include/Prototype/CheckersBoard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/include/Prototype/CheckersBoard.h -------------------------------------------------------------------------------- /Prototype/include/Prototype/ISquare.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/include/Prototype/ISquare.h -------------------------------------------------------------------------------- /Prototype/include/Prototype/SquareOption.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/include/Prototype/SquareOption.h -------------------------------------------------------------------------------- /Prototype/include/Prototype/WhiteSquare.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/include/Prototype/WhiteSquare.h -------------------------------------------------------------------------------- /Prototype/src/Prototype/BalackSquare.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/src/Prototype/BalackSquare.cpp -------------------------------------------------------------------------------- /Prototype/src/Prototype/CheckersBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/src/Prototype/CheckersBoard.cpp -------------------------------------------------------------------------------- /Prototype/src/Prototype/WhiteSquare.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/src/Prototype/WhiteSquare.cpp -------------------------------------------------------------------------------- /Prototype/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Prototype/src/main.cpp -------------------------------------------------------------------------------- /Proxy/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Proxy/CMakeLists.txt -------------------------------------------------------------------------------- /Proxy/include/Proxy/IBankAccount.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Proxy/include/Proxy/IBankAccount.h -------------------------------------------------------------------------------- /Proxy/include/Proxy/ProxyBankAccount.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Proxy/include/Proxy/ProxyBankAccount.h -------------------------------------------------------------------------------- /Proxy/include/Proxy/RealBankAccount.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Proxy/include/Proxy/RealBankAccount.h -------------------------------------------------------------------------------- /Proxy/src/Proxy/ProxyBankAccount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Proxy/src/Proxy/ProxyBankAccount.cpp -------------------------------------------------------------------------------- /Proxy/src/Proxy/RealBankAccount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Proxy/src/Proxy/RealBankAccount.cpp -------------------------------------------------------------------------------- /Proxy/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Proxy/src/main.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/README.md -------------------------------------------------------------------------------- /Singleton/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/CMakeLists.txt -------------------------------------------------------------------------------- /Singleton/include/Singleton/Authentication.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/include/Singleton/Authentication.h -------------------------------------------------------------------------------- /Singleton/include/Singleton/Authorization.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/include/Singleton/Authorization.h -------------------------------------------------------------------------------- /Singleton/include/Singleton/Printer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/include/Singleton/Printer.h -------------------------------------------------------------------------------- /Singleton/include/Singleton/Session.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/include/Singleton/Session.h -------------------------------------------------------------------------------- /Singleton/src/Singleton/Authentication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/src/Singleton/Authentication.cpp -------------------------------------------------------------------------------- /Singleton/src/Singleton/Authorization.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/src/Singleton/Authorization.cpp -------------------------------------------------------------------------------- /Singleton/src/Singleton/Printer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/src/Singleton/Printer.cpp -------------------------------------------------------------------------------- /Singleton/src/Singleton/Session.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/src/Singleton/Session.cpp -------------------------------------------------------------------------------- /Singleton/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/src/main.cpp -------------------------------------------------------------------------------- /Singleton/test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/test/CMakeLists.txt -------------------------------------------------------------------------------- /Singleton/test/Singleton/SessionTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Singleton/test/Singleton/SessionTest.cpp -------------------------------------------------------------------------------- /State/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/CMakeLists.txt -------------------------------------------------------------------------------- /State/README.md: -------------------------------------------------------------------------------- 1 | ## State ## 2 | -------------------------------------------------------------------------------- /State/include/State/AbstractState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/AbstractState.h -------------------------------------------------------------------------------- /State/include/State/CalculationHandler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/CalculationHandler.h -------------------------------------------------------------------------------- /State/include/State/EmptyState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/EmptyState.h -------------------------------------------------------------------------------- /State/include/State/Engine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/Engine.h -------------------------------------------------------------------------------- /State/include/State/IState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/IState.h -------------------------------------------------------------------------------- /State/include/State/OperandLeftState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/OperandLeftState.h -------------------------------------------------------------------------------- /State/include/State/OperandRightState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/OperandRightState.h -------------------------------------------------------------------------------- /State/include/State/Operation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/Operation.h -------------------------------------------------------------------------------- /State/include/State/OperationState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/OperationState.h -------------------------------------------------------------------------------- /State/include/State/ResultState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/ResultState.h -------------------------------------------------------------------------------- /State/include/State/StateContext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/include/State/StateContext.h -------------------------------------------------------------------------------- /State/src/State/AbstractState.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/AbstractState.cpp -------------------------------------------------------------------------------- /State/src/State/CalculationHandler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/CalculationHandler.cpp -------------------------------------------------------------------------------- /State/src/State/EmptyState.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/EmptyState.cpp -------------------------------------------------------------------------------- /State/src/State/Engine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/Engine.cpp -------------------------------------------------------------------------------- /State/src/State/OperandLeftState.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/OperandLeftState.cpp -------------------------------------------------------------------------------- /State/src/State/OperandRightState.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/OperandRightState.cpp -------------------------------------------------------------------------------- /State/src/State/OperationState.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/OperationState.cpp -------------------------------------------------------------------------------- /State/src/State/ResultState.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/ResultState.cpp -------------------------------------------------------------------------------- /State/src/State/StateContext.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/State/StateContext.cpp -------------------------------------------------------------------------------- /State/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/State/src/main.cpp -------------------------------------------------------------------------------- /Strategy/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/CMakeLists.txt -------------------------------------------------------------------------------- /Strategy/include/Strategy/AVIStrategy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/include/Strategy/AVIStrategy.h -------------------------------------------------------------------------------- /Strategy/include/Strategy/FLVStrategy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/include/Strategy/FLVStrategy.h -------------------------------------------------------------------------------- /Strategy/include/Strategy/GenericVideoPlayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/include/Strategy/GenericVideoPlayer.h -------------------------------------------------------------------------------- /Strategy/include/Strategy/IVideoStrategy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/include/Strategy/IVideoStrategy.h -------------------------------------------------------------------------------- /Strategy/include/Strategy/MKVStrategy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/include/Strategy/MKVStrategy.h -------------------------------------------------------------------------------- /Strategy/include/Strategy/MOVStrategy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/include/Strategy/MOVStrategy.h -------------------------------------------------------------------------------- /Strategy/include/Strategy/MP4Strategy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/include/Strategy/MP4Strategy.h -------------------------------------------------------------------------------- /Strategy/src/Strategy/AVIStrategy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/src/Strategy/AVIStrategy.cpp -------------------------------------------------------------------------------- /Strategy/src/Strategy/FLVStrategy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/src/Strategy/FLVStrategy.cpp -------------------------------------------------------------------------------- /Strategy/src/Strategy/GenericVideoPlayer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/src/Strategy/GenericVideoPlayer.cpp -------------------------------------------------------------------------------- /Strategy/src/Strategy/MKVStrategy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/src/Strategy/MKVStrategy.cpp -------------------------------------------------------------------------------- /Strategy/src/Strategy/MOVStrategy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/src/Strategy/MOVStrategy.cpp -------------------------------------------------------------------------------- /Strategy/src/Strategy/MP4Strategy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/src/Strategy/MP4Strategy.cpp -------------------------------------------------------------------------------- /Strategy/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Strategy/src/main.cpp -------------------------------------------------------------------------------- /TemplateMethod/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/CMakeLists.txt -------------------------------------------------------------------------------- /TemplateMethod/include/TemplateMethod/AudioSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/include/TemplateMethod/AudioSource.h -------------------------------------------------------------------------------- /TemplateMethod/include/TemplateMethod/FileAudioSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/include/TemplateMethod/FileAudioSource.h -------------------------------------------------------------------------------- /TemplateMethod/include/TemplateMethod/GenericAudioPlayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/include/TemplateMethod/GenericAudioPlayer.h -------------------------------------------------------------------------------- /TemplateMethod/include/TemplateMethod/StreamingAudioSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/include/TemplateMethod/StreamingAudioSource.h -------------------------------------------------------------------------------- /TemplateMethod/src/TemplateMethod/AudioSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/src/TemplateMethod/AudioSource.cpp -------------------------------------------------------------------------------- /TemplateMethod/src/TemplateMethod/FileAudioSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/src/TemplateMethod/FileAudioSource.cpp -------------------------------------------------------------------------------- /TemplateMethod/src/TemplateMethod/GenericAudioPlayer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/src/TemplateMethod/GenericAudioPlayer.cpp -------------------------------------------------------------------------------- /TemplateMethod/src/TemplateMethod/StreamingAudioSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/src/TemplateMethod/StreamingAudioSource.cpp -------------------------------------------------------------------------------- /TemplateMethod/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/TemplateMethod/src/main.cpp -------------------------------------------------------------------------------- /Visitor/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/CMakeLists.txt -------------------------------------------------------------------------------- /Visitor/include/Visitor/AbstractEmployee.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/AbstractEmployee.h -------------------------------------------------------------------------------- /Visitor/include/Visitor/CommissionedEmployee.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/CommissionedEmployee.h -------------------------------------------------------------------------------- /Visitor/include/Visitor/EmployeeInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/EmployeeInterface.h -------------------------------------------------------------------------------- /Visitor/include/Visitor/EmployeeVisitableInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/EmployeeVisitableInterface.h -------------------------------------------------------------------------------- /Visitor/include/Visitor/EmployeeVisitorInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/EmployeeVisitorInterface.h -------------------------------------------------------------------------------- /Visitor/include/Visitor/HourlyEmployee.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/HourlyEmployee.h -------------------------------------------------------------------------------- /Visitor/include/Visitor/NumberOfHoursAndPayReport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/NumberOfHoursAndPayReport.h -------------------------------------------------------------------------------- /Visitor/include/Visitor/SalariedEmployee.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/include/Visitor/SalariedEmployee.h -------------------------------------------------------------------------------- /Visitor/src/Visitor/AbstractEmployee.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/src/Visitor/AbstractEmployee.cpp -------------------------------------------------------------------------------- /Visitor/src/Visitor/CommissionedEmployee.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/src/Visitor/CommissionedEmployee.cpp -------------------------------------------------------------------------------- /Visitor/src/Visitor/HourlyEmployee.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/src/Visitor/HourlyEmployee.cpp -------------------------------------------------------------------------------- /Visitor/src/Visitor/NumberOfHoursAndPayReport.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/src/Visitor/NumberOfHoursAndPayReport.cpp -------------------------------------------------------------------------------- /Visitor/src/Visitor/SalariedEmployee.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/src/Visitor/SalariedEmployee.cpp -------------------------------------------------------------------------------- /Visitor/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/src/main.cpp -------------------------------------------------------------------------------- /Visitor/tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/tests/CMakeLists.txt -------------------------------------------------------------------------------- /Visitor/tests/Runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/tests/Runner.cpp -------------------------------------------------------------------------------- /Visitor/tests/Visitor/CommissionedEmployeeTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/tests/Visitor/CommissionedEmployeeTest.cpp -------------------------------------------------------------------------------- /Visitor/tests/Visitor/HourlyEmployeeTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/tests/Visitor/HourlyEmployeeTest.cpp -------------------------------------------------------------------------------- /Visitor/tests/Visitor/NumberOfHoursAndPayReportTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/tests/Visitor/NumberOfHoursAndPayReportTest.cpp -------------------------------------------------------------------------------- /Visitor/tests/Visitor/SalariedEmployeeTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/gof_design_patterns/HEAD/Visitor/tests/Visitor/SalariedEmployeeTest.cpp --------------------------------------------------------------------------------