OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::WaterTypeVisitor Class Reference

#include <OtherVisitor.hpp>

Inheritance diagram for OpenMD::WaterTypeVisitor:
OpenMD::BaseVisitor

Public Member Functions

 WaterTypeVisitor ()
 
virtual void visit (Atom *atom)
 
virtual void visit (DirectionalAtom *datom)
 
virtual void visit (RigidBody *rb)
 
virtual const std::string toString ()
 
- Public Member Functions inherited from OpenMD::BaseVisitor
virtual ~BaseVisitor ()
 
virtual void visit (Bond *bond)
 
virtual void visit (Bend *bend)
 
virtual void visit (Torsion *torsion)
 
virtual void visit (Inversion *inversion)
 
virtual void update ()
 
const std::string & getVisitorName ()
 

Private Member Functions

std::string trimmedName (const std::string &atomType)
 

Private Attributes

std::set< std::string > waterTypeList
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::BaseVisitor
 BaseVisitor ()
 
- Protected Attributes inherited from OpenMD::BaseVisitor
std::string visitorName
 

Detailed Description

Definition at line 163 of file OtherVisitor.hpp.

Constructor & Destructor Documentation

◆ WaterTypeVisitor()

OpenMD::WaterTypeVisitor::WaterTypeVisitor ( )

Definition at line 478 of file OtherVisitor.cpp.

References OpenMD::BaseVisitor::visitorName.

Member Function Documentation

◆ toString()

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

Reimplemented from OpenMD::BaseVisitor.

Definition at line 528 of file OtherVisitor.cpp.

References OpenMD::BaseVisitor::visitorName.

◆ trimmedName()

std::string OpenMD::WaterTypeVisitor::trimmedName ( const std::string &  atomType)
private

Definition at line 524 of file OtherVisitor.cpp.

◆ visit() [1/3]

virtual void OpenMD::WaterTypeVisitor::visit ( Atom atom)
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 167 of file OtherVisitor.hpp.

◆ visit() [2/3]

virtual void OpenMD::WaterTypeVisitor::visit ( DirectionalAtom datom)
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 168 of file OtherVisitor.hpp.

References OpenMD::WrappingVisitor::toString(), and OpenMD::WrappingVisitor::visit().

◆ visit() [3/3]

Member Data Documentation

◆ waterTypeList

std::set<std::string> OpenMD::WaterTypeVisitor::waterTypeList
private

Definition at line 176 of file OtherVisitor.hpp.


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