19 using namespace jsoncollector;
24 outputFile.open(filename.c_str());
34 std::ifstream
inputFile(filename.c_str());
38 content.assign((std::istreambuf_iterator<char>(
inputFile)), std::istreambuf_iterator<char>());
45 std::ifstream
ifile(path.c_str());
tuple path
else: Piece not in the list, fine.
static bool readStringFromFile(std::string const &filename, std::string &content)
static void writeStringToFile(std::string const &filename, std::string &content)
static bool fileExists(std::string const &path)