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

Detailed Description

Factory for CoulombPotential objects.

Definition at line 28 of file CoulombFactory.h.

#include <CoulombFactory.h>

Inheritance diagram for McMd::CoulombFactory:
Util::Factory< MdCoulombPotential >

Public Member Functions

 CoulombFactory (System &system)
 Default constructor. More...
 
MdCoulombPotentialfactory (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...
 

Constructor & Destructor Documentation

McMd::CoulombFactory::CoulombFactory ( System system)

Default constructor.

Definition at line 32 of file CoulombFactory.cpp.

Member Function Documentation

MdCoulombPotential * McMd::CoulombFactory::factory ( const std::string &  subclass) const
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().


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