#include <FileIO.h>
Static Public Member Functions | |
static bool | fileExists (std::string &path) |
static bool | readStringFromFile (std::string &filename, std::string &content) |
static void | writeStringToFile (std::string &filename, std::string &content) |
|
static |
Checks if path points to an existing file
Definition at line 50 of file FileIO.cc.
References compare_using_db::ifile.
Referenced by readStringFromFile().
|
static |
Reads string from specified path, returns false if file does not exist
Definition at line 33 of file FileIO.cc.
References end, fileExists(), and analyzePatCleaning_cfg::inputFile.
Referenced by jsoncollector::ObjectMerger::getDataPointDefinitionFor().
|
static |
Writes given string to specified file path
Definition at line 26 of file FileIO.cc.
References ws_sso_content_reader::content, and download_sqlite_cfg::outputFile.
Referenced by jsoncollector::FastMonitor::outputFullHistoDataPoint().