|
Simpatico
v1.10
|
Factory for subclasses of AnglePotential.
Definition at line 28 of file mcMd/potentials/angle/AngleFactory.h.
#include <AngleFactory.h>
Public Member Functions | |
| AngleFactory (System &system) | |
| Default constructor. More... | |
| AnglePotential * | factory (const std::string &subclass) const |
| Return a pointer to a new AnglePotential, if possible. More... | |
Public Member Functions inherited from Util::Factory< AnglePotential > | |
| Factory () | |
| Constructor. More... | |
| virtual | ~Factory () |
| Destructor. More... | |
| void | addSubfactory (Factory< AnglePotential > &subfactory) |
| Add a new subfactory to the list. More... | |
| AnglePotential * | readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
| Read a class name, instantiate an object, and read its parameters. More... | |
| AnglePotential * | 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< AnglePotential > | |
| AnglePotential * | 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... | |
| McMd::AngleFactory::AngleFactory | ( | System & | system | ) |
Default constructor.
Definition at line 27 of file mcMd/potentials/angle/AngleFactory.cpp.
|
virtual |
Return a pointer to a new AnglePotential, if possible.
Implements Util::Factory< AnglePotential >.
Definition at line 35 of file mcMd/potentials/angle/AngleFactory.cpp.
References Util::Factory< AnglePotential >::trySubfactories().
1.8.11