Design Patterns
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
card_interface.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_VISITOR_CARD_INTERFACE_H_
7 #define OPERATIONAL_VISITOR_CARD_INTERFACE_H_
8 
9 namespace operational
10 {
11 namespace visitor
12 {
14 {
15  public:
16  virtual ~CardInterface() {}
17 
18  virtual double GetSilverPrice() = 0;
19  virtual double GetGoldPrice() = 0;
20 };
21 }
22 }
23 
24 #endif
25 
Definition: application.cc:10
Definition: card_interface.h:13
virtual ~CardInterface()
Definition: card_interface.h:16