Design Patterns
employee.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_ITERATOR_EMPLOYEE_H_
7 #define OPERATIONAL_ITERATOR_EMPLOYEE_H_
8 
9 #include <string>
10 
11 namespace operational
12 {
13 namespace iterator
14 {
15 class Employee
16 {
17  public:
18  explicit Employee(const std::string& name);
19  Employee(const Employee&);
20 
21  static void Print();
22 
23  private:
24  std::string name_;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: application.cc:10
static void Print()
Definition: employee.cc:16
Employee(const std::string &name)
Definition: employee.cc:12
Definition: employee.h:15