Design Patterns
stream_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 STRUCTURAL_DECORATOR_STREAM_INTERFACE_H_
7 #define STRUCTURAL_DECORATOR_STREAM_INTERFACE_H_
8 
9 #include <string>
10 
11 namespace structural
12 {
13 namespace decorator
14 {
16 {
17  public:
18  virtual ~StreamInterface() { }
19 
20  virtual void PutInt(int) = 0;
21  virtual void PutString(const std::string&) = 0;
22 };
23 }
24 }
25 
26 #endif
27 
virtual ~StreamInterface()
Definition: stream_interface.h:18
Definition: shape_interface.h:11
virtual void PutString(const std::string &)=0
Definition: stream_interface.h:15