Simpatico
v1.10
|
Default Factory for subclasses of TrajectoryReader.
Definition at line 25 of file mcMd/trajectory/TrajectoryReaderFactory.h.
#include <TrajectoryReaderFactory.h>
Public Member Functions | |
TrajectoryReaderFactory (System &system) | |
Constructor. More... | |
TrajectoryReader * | factory (const std::string &trajectoryIoName) const |
Method to create any TrajectoryReader supplied with Simpatico. More... | |
![]() | |
Factory () | |
Constructor. More... | |
virtual | ~Factory () |
Destructor. More... | |
void | addSubfactory (Factory< TrajectoryReader > &subfactory) |
Add a new subfactory to the list. More... | |
TrajectoryReader * | readObject (std::istream &in, ParamComposite &parent, std::string &className, bool &isEnd) |
Read a class name, instantiate an object, and read its parameters. More... | |
TrajectoryReader * | loadObject (Serializable::IArchive &ar, ParamComposite &parent, std::string &className) |
Load a class name, instantiate an object, and load the object. More... | |
Additional Inherited Members | |
![]() | |
TrajectoryReader * | 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::TrajectoryReaderFactory::TrajectoryReaderFactory | ( | System & | system | ) |
Constructor.
Definition at line 23 of file mcMd/trajectory/TrajectoryReaderFactory.cpp.
|
virtual |
Method to create any TrajectoryReader supplied with Simpatico.
trajectoryIoName | name of the TrajectoryReader subclass |
Implements Util::Factory< TrajectoryReader >.
Definition at line 31 of file mcMd/trajectory/TrajectoryReaderFactory.cpp.
References Util::Factory< TrajectoryReader >::trySubfactories().