Simpatico  v1.10
ConfigReaderFactory.h
1 #ifndef TOOLS_CONFIG_READER_FACTORY_H
2 #define TOOLS_CONFIG_READER_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 <tools/config/ConfigReader.h>
13 
14 #include <string>
15 
16 namespace Tools
17 {
18 
19  using namespace Util;
20  class Configuration;
21 
27  class ConfigReaderFactory : public Factory<ConfigReader>
28  {
29 
30  public:
31 
37  ConfigReaderFactory(Configuration& configuration);
38 
55  ConfigReader* factory(const std::string &subclassName) const;
56 
57  private:
58 
60  Configuration* configurationPtr_;
61 
62  };
63 
64 }
65 #endif
Abstract reader/writer for configuration files.
Definition: ConfigReader.h:27
An instantaneous molecular dynamics configuration.
Definition: Configuration.h:40
Default Factory for subclasses of ConfigReader.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor classes for pre- and post-processing MD trajectories.
Factory template.
Definition: Factory.h:32