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.

Definition at line 22 of file visitor.h.


Constructor & Destructor Documentation

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

Default constructor

Definition at line 61 of file visitor.h.

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

Copy constructor

Definition at line 68 of file visitor.h.

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

Destructor

Definition at line 74 of file visitor.h.


Member Function Documentation

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

Definition at line 57 of file visitor.h.

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.

Generated by  doxygen 1.6.3