00001
00002
00003
00004
00005
00006 #ifndef __Preprocessor__Class__
00007 #define __Preprocessor__Class__
00008
00009 #include <iostream>
00010 #include <sstream>
00011 #include <fstream>
00012 #include <string>
00013 #include <vector>
00014 #include "Errors.hh"
00015
00016 namespace phaser_io {
00017
00018 class Preprocessor
00019 {
00020 private:
00021 std::string echo;
00022
00023 public:
00024 Preprocessor();
00025 Preprocessor(std::string);
00026
00027
00028 Preprocessor(int, char*[],bool ReadInput=true);
00029 ~Preprocessor();
00030 std::string Echo();
00031 std::string stoup(const std::string & str);
00032 void addLine(std::string);
00033 void deleteLine(std::string);
00034 void addFile(std::string);
00035 std::vector<std::string> getEndKeys();
00036 };
00037
00038 }
00039
00040 #endif