Simpatico  v1.10
mcMd/configIos/ConfigIoFactory.h
1 #ifndef MCMD_CONFIG_IO_FACTORY_H
2 #define MCMD_CONFIG_IO_FACTORY_H
3 
4 /*
5 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <util/param/Factory.h>
12 #include <mcMd/configIos/ConfigIo.h>
13 
14 #include <string>
15 
16 namespace McMd
17 {
18 
19  using namespace Util;
20  class System;
21 
25  class ConfigIoFactory : public Factory<ConfigIo>
26  {
27 
28  public:
29 
31  ConfigIoFactory(System& system);
32 
39  ConfigIo* factory(const std::string &speciesName) const;
40 
41  private:
42 
44  System* systemPtr_;
45 
46  };
47 
48 }
49 #endif
A set of interacting Molecules enclosed by a Boundary.
Definition: System.h:115
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Default Factory for subclasses of ConfigIo.
Factory template.
Definition: Factory.h:32
System configuration file reader and writer.