EventFilter
Utilities
interface
FileIO.h
Go to the documentation of this file.
1
/*
2
* FileIO.h
3
*
4
* Created on: Sep 25, 2012
5
* Author: aspataru
6
*/
7
8
#ifndef FILEIO_H_
9
#define FILEIO_H_
10
11
#include <string>
12
#include <vector>
13
14
namespace
jsoncollector
{
15
class
FileIO
{
16
public
:
20
static
void
writeStringToFile
(
std::string
const
&
filename
,
std::string
&
content
);
24
static
bool
readStringFromFile
(
std::string
const
&
filename
,
std::string
&
content
);
28
static
bool
fileExists
(
std::string
const
&
path
);
29
};
30
}
// namespace jsoncollector
31
#endif
/* FILEIO_H_ */
jsoncollector::FileIO
Definition:
FileIO.h:15
jsoncollector::FileIO::fileExists
static bool fileExists(std::string const &path)
Definition:
FileIO.cc:41
jsoncollector::FileIO::readStringFromFile
static bool readStringFromFile(std::string const &filename, std::string &content)
Definition:
FileIO.cc:28
corrVsCorr.filename
filename
Definition:
corrVsCorr.py:123
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Skims_PA_cff.content
content
Definition:
Skims_PA_cff.py:19
jsoncollector::FileIO::writeStringToFile
static void writeStringToFile(std::string const &filename, std::string &content)
Definition:
FileIO.cc:21
jsoncollector
Definition:
DataPoint.h:26
castor_dqm_sourceclient_file_cfg.path
path
Definition:
castor_dqm_sourceclient_file_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16