OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::CompositeVisitor Class Reference
+ Inheritance diagram for OpenMD::CompositeVisitor:

Public Member Functions

virtual void visit (Atom *atom)
 
virtual void visit (DirectionalAtom *datom)
 
virtual void visit (RigidBody *rb)
 
virtual void update ()
 
void addVisitor (BaseVisitor *v, int priority=0)
 
BaseVisitorbeginVisitor (VisitorIterator &i)
 
BaseVisitornextVisitor (VisitorIterator &i)
 
const std::string toString ()
 
virtual void visit (Bond *)
 
virtual void visit (Bend *)
 
virtual void visit (Torsion *)
 
virtual void visit (Inversion *)
 
- Public Member Functions inherited from OpenMD::BaseVisitor
const std::string & getVisitorName ()
 

Protected Attributes

std::list< std::pair< BaseVisitor *, int > > visitorList
 
- Protected Attributes inherited from OpenMD::BaseVisitor
std::string visitorName
 

Detailed Description

Definition at line 57 of file CompositeVisitor.hpp.

Constructor & Destructor Documentation

◆ CompositeVisitor()

OpenMD::CompositeVisitor::CompositeVisitor ( )
inline

Definition at line 60 of file CompositeVisitor.hpp.

◆ ~CompositeVisitor()

OpenMD::CompositeVisitor::~CompositeVisitor ( )

Definition at line 54 of file CompositeVisitor.cpp.

Member Function Documentation

◆ addVisitor()

void OpenMD::CompositeVisitor::addVisitor ( BaseVisitor * v,
int priority = 0 )

Definition at line 63 of file CompositeVisitor.cpp.

◆ beginVisitor()

BaseVisitor * OpenMD::CompositeVisitor::beginVisitor ( VisitorIterator & i)

Definition at line 80 of file CompositeVisitor.cpp.

◆ nextVisitor()

BaseVisitor * OpenMD::CompositeVisitor::nextVisitor ( VisitorIterator & i)

Definition at line 85 of file CompositeVisitor.cpp.

◆ toString()

const std::string OpenMD::CompositeVisitor::toString ( )
virtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 122 of file CompositeVisitor.cpp.

◆ update()

void OpenMD::CompositeVisitor::update ( )
virtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 162 of file CompositeVisitor.cpp.

◆ visit() [1/7]

void OpenMD::CompositeVisitor::visit ( Atom * atom)
virtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 90 of file CompositeVisitor.cpp.

◆ visit() [2/7]

virtual void OpenMD::BaseVisitor::visit ( Bend * )
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 70 of file BaseVisitor.hpp.

◆ visit() [3/7]

virtual void OpenMD::BaseVisitor::visit ( Bond * )
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 69 of file BaseVisitor.hpp.

◆ visit() [4/7]

void OpenMD::CompositeVisitor::visit ( DirectionalAtom * datom)
virtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 98 of file CompositeVisitor.cpp.

◆ visit() [5/7]

virtual void OpenMD::BaseVisitor::visit ( Inversion * )
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 72 of file BaseVisitor.hpp.

◆ visit() [6/7]

void OpenMD::CompositeVisitor::visit ( RigidBody * rb)
virtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 105 of file CompositeVisitor.cpp.

◆ visit() [7/7]

virtual void OpenMD::BaseVisitor::visit ( Torsion * )
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 71 of file BaseVisitor.hpp.

Member Data Documentation

◆ visitorList

std::list<std::pair<BaseVisitor*, int> > OpenMD::CompositeVisitor::visitorList
protected

Definition at line 75 of file CompositeVisitor.hpp.


The documentation for this class was generated from the following files: