Design Patterns
Main Page
Namespaces
Classes
Files
File List
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
{
15
class
TextDocument
16
{
17
public
:
18
TextDocument
();
19
20
void
Insert
(
GraphicInterface
*);
21
const
commons::Point<float>
&
GetExtent
();
22
23
private
:
24
GraphicInterface
* graphic_;
25
commons::Point<float>
extent_;
26
};
27
}
28
}
29
30
#endif
31
structural
Definition:
shape_interface.h:11
structural::proxy::GraphicInterface
Definition:
graphic_interface.h:17
structural::proxy::TextDocument
Definition:
text_document.h:15
structural::proxy::TextDocument::Insert
void Insert(GraphicInterface *)
Definition:
text_document.cc:17
structural::proxy::TextDocument::TextDocument
TextDocument()
Definition:
text_document.cc:12
structural::proxy::TextDocument::GetExtent
const commons::Point< float > & GetExtent()
Definition:
text_document.cc:22
structural::commons::Point< float >
graphic_interface.h
src
structural
src
proxy
text_document.h
Generated by
1.8.10