Simpact Cyan
Population based event driven simulation using mNRM
util.h
1 #ifndef UTIL_H
2 
3 #define UTIL_H
4 
5 #include <stdio.h>
6 #include <string>
7 #include <vector>
8 
9 //long double GetSystemTime();
10 bool ReadInputLine(FILE *fi, std::string &line);
11 void SplitLine(const std::string &line, std::vector<std::string> &args, const std::string &separatorChars = " \t",
12  const std::string &quoteChars = "\"'", const std::string &commentStartChars = "#",
13  bool ignoreZeroLengthFields = true);
14 
15 //bool Load2DMatlabArray(const std::string &fileName, std::vector<double> &destArray, int &numX, int &numY, std::string &errStr);
16 std::string createFullPath(const std::string &dir, const std::string &file);
17 
18 #endif // UTIL_H
19