Design Patterns
Main Page
Namespaces
Classes
Files
File List
token.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_TOKEN_H_
7
#define STRUCTURAL_FACADE_TOKEN_H_
8
9
#include <string>
10
11
namespace
structural
12
{
13
namespace
facade
14
{
15
class
Token
16
{
17
public
:
18
explicit
Token
(
const
std::string&
content
);
19
20
std::string
content
()
const
;
21
22
private
:
23
std::string content_;
24
};
25
}
26
}
27
28
#endif
29
structural
Definition:
shape_interface.h:11
structural::facade::Token::content
std::string content() const
Definition:
token.cc:14
structural::facade::Token
Definition:
token.h:15
structural::facade::Token::Token
Token(const std::string &content)
Definition:
token.cc:12
src
structural
src
facade
token.h
Generated by
1.8.10