Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

Visitor< Host > Class Template Reference
[Miscellaneous]

#include <visitor.h>

List of all members.

Public Member Functions

virtual void visit (Host &)=0
 Visit method.
virtual void dummy ()
Constructors and destructors
 Visitor () throw ()
 Default constructor.
 Visitor (const Visitor &visitor) throw ()
 Copy constructor.
virtual ~Visitor () throw ()
 Destructor.


Detailed Description

template<typename Host>
class Visitor< Host >

This class implements the visitor design pattern.


Member Function Documentation

template<typename Host>
virtual void 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 MolecularInformation.