Simpatico  v1.10
List of all members | Public Member Functions
McMd::DihedralFactory Class Reference

Detailed Description

Factory for subclasses of DihedralPotential.

Definition at line 27 of file mcMd/potentials/dihedral/DihedralFactory.h.

#include <DihedralFactory.h>

Inheritance diagram for McMd::DihedralFactory:
Util::Factory< DihedralPotential >

Public Member Functions

 DihedralFactory (System &system)
 Default constructor. More...
 
DihedralPotentialfactory (const std::string &subclass) const
 Return a pointer to a new DihedralPotential, if possible. More...
 
- Public Member Functions inherited from Util::Factory< DihedralPotential >
 Factory ()
 Constructor. More...
 
virtual ~Factory ()
 Destructor. More...
 
void addSubfactory (Factory< DihedralPotential > &subfactory)
 Add a new subfactory to the list. More...
 
DihedralPotential * readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd)
 Read a class name, instantiate an object, and read its parameters. More...
 
DihedralPotential * loadObject (Serializable::IArchive &ar, ParamComposite &parent, std::string &className)
 Load a class name, instantiate an object, and load the object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Util::Factory< DihedralPotential >
DihedralPotential * trySubfactories (const std::string &className) const
 Search through subfactories for match. More...
 
void setIoCommunicator (MPI::Intracomm &communicator)
 Set associated Mpi communicator. More...
 
bool hasIoCommunicator () const
 Does this factory have a param communicator? More...
 

Constructor & Destructor Documentation

McMd::DihedralFactory::DihedralFactory ( System system)

Default constructor.

Definition at line 25 of file mcMd/potentials/dihedral/DihedralFactory.cpp.

Member Function Documentation

DihedralPotential * McMd::DihedralFactory::factory ( const std::string &  subclass) const
virtual

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