From 46b7119fab32b05923dbf9cda7cd6ce62f572846 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 9 Jan 2017 14:01:51 -0500 Subject: Initial commit --- generator/generator.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 generator/generator.h (limited to 'generator/generator.h') diff --git a/generator/generator.h b/generator/generator.h new file mode 100644 index 0000000..d911c61 --- /dev/null +++ b/generator/generator.h @@ -0,0 +1,51 @@ +#ifndef GENERATOR_H_B180515E +#define GENERATOR_H_B180515E + +#include +#include +#include "database.h" + +namespace cadence { + namespace generator { + + class generator { + public: + + // Constructor + + generator( + std::string inputpath, + std::string outputpath); + + // Action + + void run(); + + // Subroutines + + void writeSchema(); + + void scanDirectories(); + + void parseData(); + + private: + + // Input + + std::string inputpath_; + + // Output + + database db_; + + // Cache + + std::list datafiles_; + + }; + + }; +}; + +#endif /* end of include guard: GENERATOR_H_B180515E */ -- cgit 1.4.1