Design Patterns
paste_command.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef OPERATIONAL_COMMAND_PASTE_COMMAND_H_
7 #define OPERATIONAL_COMMAND_PASTE_COMMAND_H_
8 
9 #include "command_interface.h"
10 #include "command_document.h"
11 
12 namespace operational
13 {
14 namespace command
15 {
17 {
18  public:
19  explicit PasteCommand(CommandDocument* document);
20 
21  virtual void Execute() override;
22 
23  private:
24  CommandDocument* document_;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: command_document.h:15
PasteCommand(CommandDocument *document)
Definition: paste_command.cc:12
Definition: paste_command.h:16
Definition: application.cc:10
virtual void Execute() override
Definition: paste_command.cc:17
Definition: command_interface.h:13