Design Patterns
bytecode_stream.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_FACADE_BYTECODE_STREAM_H_
7 #define STRUCTURAL_FACADE_BYTECODE_STREAM_H_
8 
9 #include <string>
10 
11 namespace structural
12 {
13 namespace facade
14 {
16 {
17  public:
19 
20  void Write(std::string text);
21  std::string Read() const;
22 
23  private:
24  std::string text_;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: shape_interface.h:11
Definition: bytecode_stream.h:15
void Write(std::string text)
Definition: bytecode_stream.cc:9
std::string Read() const
Definition: bytecode_stream.cc:14
BytecodeStream()
Definition: bytecode_stream.cc:7