#include <BALL/CONCEPT/visitor.h>
Public Member Functions | |
virtual void | visit (Host &)=0 |
virtual void | dummy () |
Constructors and destructors | |
Visitor () | |
Visitor (const Visitor &visitor) | |
virtual | ~Visitor () |
Generic Visitor Class. This class implements the visitor design pattern.
BALL_INLINE BALL::Visitor< T >::Visitor | ( | ) | [inline] |
Default constructor
BALL_INLINE BALL::Visitor< Host >::Visitor | ( | const Visitor< Host > & | visitor | ) | [inline] |
Copy constructor
BALL::Visitor< T >::~Visitor | ( | ) | [inline, virtual] |
Destructor
void BALL::Visitor< T >::dummy | ( | ) | [inline, virtual] |
virtual void BALL::Visitor< Host >::visit | ( | Host & | ) | [pure virtual] |
Visit method. The visit method is an abstract method defining an interface between the visitor object and its host.
Implemented in BALL::MolecularInformation.