Loading...
Searching...
No Matches
visitor.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_CONCEPT_VISITOR_H
#define BALL_CONCEPT_VISITOR_H
#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif
namespace BALL
{
template <typename Host>
class Visitor
{
public:
Visitor()
;
Visitor(const Visitor& visitor)
;
virtual ~Visitor()
;
virtual void visit(Host &) = 0;
virtual void dummy();
};
template <typename T>
void Visitor<T>::dummy(){}
template <typename T>
BALL_INLINE
Visitor<T>::Visitor()
{
}
template <typename Host>
BALL_INLINE
Visitor<Host>::Visitor(const Visitor<Host>& /* visitor */)
{
}
template <typename T>
Visitor<T>::~Visitor()
{
}
}
#endif // BALL_CONCEPT_VISITOR_H
BALL::Visitor::~Visitor
virtual ~Visitor()
Definition visitor.h:74
BALL::Visitor::dummy
virtual void dummy()
Definition visitor.h:57
BALL::Visitor::Visitor
Visitor()
Definition visitor.h:61
BALL::Visitor::visit
virtual void visit(Host &)=0
common.h
BALL_INLINE
#define BALL_INLINE
Definition debug.h:15
BALL
Definition constants.h:13