#include <FileIO.h>
Static Public Member Functions | |
static bool | fileExists (std::string const &path) |
static bool | readStringFromFile (std::string const &filename, std::string &content) |
static void | writeStringToFile (std::string const &filename, std::string &content) |
|
static |
Checks if path points to an existing file
Definition at line 41 of file FileIO.cc.
References compare_using_db::ifile, and castor_dqm_sourceclient_file_cfg::path.
Referenced by readStringFromFile().
|
static |
Reads string from specified path, returns false if file does not exist
Definition at line 28 of file FileIO.cc.
References Skims_PA_cff::content, mps_fire::end, fileExists(), corrVsCorr::filename, and makeListRunsInFiles::inputFile.
Referenced by jsoncollector::DataPointDefinition::getDataPointDefinitionFor().
|
static |
Writes given string to specified file path
Definition at line 21 of file FileIO.cc.
References Skims_PA_cff::content, corrVsCorr::filename, and download_sqlite_cfg::outputFile.
Referenced by evf::EvFOutputJSONWriter::EvFOutputJSONWriter(), evf::GlobalEvFOutputJSONDef::GlobalEvFOutputJSONDef(), jsoncollector::FastMonitor::outputFullJSON(), and jsoncollector::FastMonitor::outputFullJSONs().