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

Detailed Description

Default Factory for subclasses of ConfigIo.

Definition at line 25 of file mcMd/configIos/ConfigIoFactory.h.

#include <ConfigIoFactory.h>

Inheritance diagram for McMd::ConfigIoFactory:
Util::Factory< ConfigIo >

Public Member Functions

 ConfigIoFactory (System &system)
 Constructor. More...
 
ConfigIofactory (const std::string &speciesName) const
 Method to create any species supplied with Simpatico. More...
 
- Public Member Functions inherited from Util::Factory< ConfigIo >
 Factory ()
 Constructor. More...
 
virtual ~Factory ()
 Destructor. More...
 
void addSubfactory (Factory< ConfigIo > &subfactory)
 Add a new subfactory to the list. More...
 
ConfigIo * readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd)
 Read a class name, instantiate an object, and read its parameters. More...
 
ConfigIo * 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< ConfigIo >
ConfigIo * 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::ConfigIoFactory::ConfigIoFactory ( System system)

Constructor.

Definition at line 25 of file mcMd/configIos/ConfigIoFactory.cpp.

Member Function Documentation

ConfigIo * McMd::ConfigIoFactory::factory ( const std::string &  speciesName) const
virtual

Method to create any species supplied with Simpatico.

Parameters
speciesNamename of the ConfigIo subclass
Returns
ConfigIo* pointer to new instance of speciesName

Implements Util::Factory< ConfigIo >.

Definition at line 32 of file mcMd/configIos/ConfigIoFactory.cpp.

References Util::Factory< ConfigIo >::trySubfactories().


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