diff src/Support/ModuleTree.h @ 120:89e4facffd93

- Module tree
author tomwalters
date Sun, 17 Oct 2010 02:42:12 +0000
parents 077c7ecc2d5f
children 3cdaa81c3aca
line wrap: on
line diff
--- a/src/Support/ModuleTree.h	Sat Oct 16 23:05:26 2010 +0000
+++ b/src/Support/ModuleTree.h	Sun Oct 17 02:42:12 2010 +0000
@@ -28,10 +28,11 @@
 #include <hash_map>
 #include <string>
 
-#include "Support/Parameters.h"
-
 namespace aimc {
 using std::string;
+class Module;
+class Parameters;
+
 class ModuleTree {
  public:
   bool ParseConfigFile(const string &filename);
@@ -44,9 +45,10 @@
     return output_filename_prefix_;
   }
  private:
-  Paramters parameters_;
+  Paramters config_;
   string output_filename_prefix_;
   hash_map<string, scoped_ptr<Module> > modules_;
+  hash_map<string, scoped_ptr<Parameters> > parameters_;
   string root_name_;
   DISALLOW_COPY_AND_ASSIGN(ModuleTree);
 };