File indexing completed on 2024-04-06 12:11:05
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef FILEIO_H_
0009 #define FILEIO_H_
0010
0011 #include <string>
0012 #include <vector>
0013
0014 namespace jsoncollector {
0015 class FileIO {
0016 public:
0017
0018
0019
0020 static void writeStringToFile(std::string const& filename, std::string& content);
0021
0022
0023
0024 static bool readStringFromFile(std::string const& filename, std::string& content);
0025
0026
0027
0028 static bool fileExists(std::string const& path);
0029 };
0030 }
0031 #endif