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