SOLARPROP  1.0
 All Classes Functions Variables
fileHelper.h
1 /*
2  * fileHelper.h
3  *
4  * Author: kappl
5  */
6 
7 #ifndef FILEHELPER_H_
8 #define FILEHELPER_H_
9 
10 #include <iostream>
11 #include <vector>
12 #include <map>
13 #include <string>
14 #include <sstream>
15 #include <fstream>
16 
17 #include "stringconst.h"
18 
23 {
24  public:
25  FileHelper();
26  ~FileHelper();
27  template <typename T1, typename T2> std::map<T1,T2> readFile(std::string, int, int);
28  void writeText(std::string, const std::vector<double>&, const std::vector<std::vector<double>>&, int);
29  std::string checkFormat(std::string);
30  std::map<std::pair<int, int>, double> readNeutronMonitorData(std::string);
31 };
32 
33 
34 #endif /* FILEHELPER_H_ */