Design Patterns
command_document.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_COMMAND_DOCUMENT_H_
7 #define OPERATIONAL_COMMAND_COMMAND_DOCUMENT_H_
8 
9 #include <string>
10 
11 namespace operational
12 {
13 namespace command
14 {
16 {
17  public:
18  explicit CommandDocument(const std::string& name);
19 
20  void Open();
21  void Paste();
22 
23  std::string name() const;
24 
25  private:
26  std::string name_;
27 };
28 }
29 }
30 
31 #endif
32 
Definition: command_document.h:15
CommandDocument(const std::string &name)
Definition: command_document.cc:14
Definition: application.cc:10
void Open()
Definition: command_document.cc:16
void Paste()
Definition: command_document.cc:23
std::string name() const
Definition: command_document.cc:30