BALL::Visitor< Host > Class Template Reference
[Miscellaneous]

#include <BALL/CONCEPT/visitor.h>

List of all members.


Public Member Functions

virtual void visit (Host &)=0
virtual void dummy ()
Constructors and destructors
 Visitor ()
 Visitor (const Visitor &visitor)
virtual ~Visitor ()

Detailed Description

template<typename Host>
class BALL::Visitor< Host >

Generic Visitor Class. This class implements the visitor design pattern.


Constructor & Destructor Documentation

template<typename T >
BALL_INLINE BALL::Visitor< T >::Visitor (  )  [inline]

Default constructor

template<typename Host >
BALL_INLINE BALL::Visitor< Host >::Visitor ( const Visitor< Host > &  visitor  )  [inline]

Copy constructor

template<typename T >
BALL::Visitor< T >::~Visitor (  )  [inline, virtual]

Destructor


Member Function Documentation

template<typename T >
void BALL::Visitor< T >::dummy (  )  [inline, virtual]
template<typename Host>
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.