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

Detailed Description

Default Factory for subclasses of TrajectoryReader.

Definition at line 25 of file mcMd/trajectory/TrajectoryReaderFactory.h.

#include <TrajectoryReaderFactory.h>

Inheritance diagram for McMd::TrajectoryReaderFactory:
Util::Factory< TrajectoryReader >

Public Member Functions

 TrajectoryReaderFactory (System &system)
 Constructor. More...
 
TrajectoryReaderfactory (const std::string &trajectoryIoName) const
 Method to create any TrajectoryReader supplied with Simpatico. More...
 
- Public Member Functions inherited from Util::Factory< TrajectoryReader >
 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

- Protected Member Functions inherited from Util::Factory< TrajectoryReader >
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...
 

Constructor & Destructor Documentation

McMd::TrajectoryReaderFactory::TrajectoryReaderFactory ( System system)

Constructor.

Definition at line 23 of file mcMd/trajectory/TrajectoryReaderFactory.cpp.

Member Function Documentation

TrajectoryReader * McMd::TrajectoryReaderFactory::factory ( const std::string &  trajectoryIoName) const
virtual

Method to create any TrajectoryReader supplied with Simpatico.

Parameters
trajectoryIoNamename of the TrajectoryReader subclass
Returns
TrajectoryReader* pointer to new instance of trajectryIoName

Implements Util::Factory< TrajectoryReader >.

Definition at line 31 of file mcMd/trajectory/TrajectoryReaderFactory.cpp.

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


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