Design Patterns
text_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 STRUCTURAL_PROXY_TEXT_DOCUMENT_H_
7 #define STRUCTURAL_PROXY_TEXT_DOCUMENT_H_
8 
9 #include "graphic_interface.h"
10 
11 namespace structural
12 {
13 namespace proxy
14 {
16 {
17  public:
18  TextDocument();
19 
20  void Insert(GraphicInterface*);
22 
23  private:
24  GraphicInterface* graphic_;
25  commons::Point<float> extent_;
26 };
27 }
28 }
29 
30 #endif
31 
Definition: shape_interface.h:11
Definition: graphic_interface.h:17
Definition: text_document.h:15
void Insert(GraphicInterface *)
Definition: text_document.cc:17
TextDocument()
Definition: text_document.cc:12
const commons::Point< float > & GetExtent()
Definition: text_document.cc:22