OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::LatticeCreator Class Referenceabstract

#include <LatticeCreator.hpp>

Inheritance diagram for OpenMD::LatticeCreator:
OpenMD::LatticeBuilder< ConcreteLattice >

Public Member Functions

 LatticeCreator (const std::string &ident)
virtual ~LatticeCreator ()
const std::string & getIdent () const
virtual Latticecreate () const =0

Private Attributes

std::string ident_

Detailed Description

Definition at line 56 of file LatticeCreator.hpp.

Constructor & Destructor Documentation

◆ LatticeCreator()

OpenMD::LatticeCreator::LatticeCreator ( const std::string &  ident)

Definition at line 58 of file LatticeCreator.hpp.

◆ ~LatticeCreator()

virtual OpenMD::LatticeCreator::~LatticeCreator ( )

Definition at line 59 of file LatticeCreator.hpp.

Member Function Documentation

◆ create()

virtual Lattice* OpenMD::LatticeCreator::create ( ) const
pure virtual

Implemented in OpenMD::LatticeBuilder< ConcreteLattice >.

Referenced by getIdent().

◆ getIdent()

const std::string& OpenMD::LatticeCreator::getIdent ( ) const

Definition at line 61 of file LatticeCreator.hpp.

References create(), and ident_.

Referenced by OpenMD::LatticeFactory::registerLattice().

Member Data Documentation

◆ ident_

std::string OpenMD::LatticeCreator::ident_

Definition at line 66 of file LatticeCreator.hpp.

Referenced by getIdent().

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