BALL 1.5.0
Loading...
Searching...
No Matches
visitor.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_CONCEPT_VISITOR_H
6#define BALL_CONCEPT_VISITOR_H
7
8#ifndef BALL_COMMON_H
9# include <BALL/common.h>
10#endif
11
12namespace BALL
13{
14
21 template <typename Host>
22 class Visitor
23 {
24 public:
25
32 ;
33
36 Visitor(const Visitor& visitor)
37 ;
38
41 virtual ~Visitor()
42 ;
43
45
50 virtual void visit(Host &) = 0;
51
52 virtual void dummy();
53 };
55
56 template <typename T>
58
59 template <typename T>
62
63 {
64 }
65
66 template <typename Host>
69
70 {
71 }
72
73 template <typename T>
75
76 {
77 }
78}
79
80#endif // BALL_CONCEPT_VISITOR_H
#define BALL_INLINE
Definition debug.h:15
Visitor(const Visitor &visitor)
Definition visitor.h:68
virtual ~Visitor()
Definition visitor.h:74
virtual void dummy()
Definition visitor.h:57
virtual void visit(Host &)=0