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