diff src/Support/ModuleTree.h @ 114:077c7ecc2d5f

- Module tree support - ongoing work
author tomwalters
date Tue, 28 Sep 2010 23:52:31 +0000
parents bee31e7ebf4b
children 89e4facffd93
line wrap: on
line diff
--- a/src/Support/ModuleTree.h	Tue Sep 14 01:41:19 2010 +0000
+++ b/src/Support/ModuleTree.h	Tue Sep 28 23:52:31 2010 +0000
@@ -24,20 +24,30 @@
  *  \version \$Id: $
  */
 
+#include <boost/scoped_ptr.hpp>
+#include <hash_map>
 #include <string>
 
+#include "Support/Parameters.h"
+
 namespace aimc {
 using std::string;
 class ModuleTree {
  public:
   bool ParseConfigFile(const string &filename);
   bool ParseConfigText(const string &config_text);
-  void set_output_filename_prefix(const string &prefix);
+  string GetFullConfig()
+  void set_output_filename_prefix(const string &prefix) {
+    output_filename_prefix_ = prefix;
+  }
   string output_filename_prefix() {
     return output_filename_prefix_;
   }
  private:
+  Paramters parameters_;
   string output_filename_prefix_;
+  hash_map<string, scoped_ptr<Module> > modules_;
+  string root_name_;
   DISALLOW_COPY_AND_ASSIGN(ModuleTree);
 };
 }  // namespace aimc
\ No newline at end of file