CMS 3D CMS Logo

FileUtils.h
Go to the documentation of this file.
1 #ifndef CondCore_CondDB_FileUtils_h
2 #define CondCore_CondDB_FileUtils_h
3 #include <string>
4 
5 namespace cond {
6 
7  class FileReader {
8  public:
9  FileReader();
10 
11  virtual ~FileReader() {}
12 
13  bool read(const std::string& fileName);
14 
15  const std::string& content() const;
16 
17  private:
19  };
20 
21 } // namespace cond
22 
23 inline cond::FileReader::FileReader() : m_content("") {}
24 
25 inline const std::string& cond::FileReader::content() const { return m_content; }
26 
27 #endif // CondCore_CondDB_FileUtils_h
cond::FileReader::content
const std::string & content() const
Definition: FileUtils.h:25
MillePedeFileConverter_cfg.fileName
fileName
Definition: MillePedeFileConverter_cfg.py:32
cond::FileReader::m_content
std::string m_content
Definition: FileUtils.h:18
cond::FileReader::read
bool read(const std::string &fileName)
Definition: FileUtils.cc:6
cond::FileReader
Definition: FileUtils.h:7
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cond
Definition: plugin.cc:23
cond::FileReader::FileReader
FileReader()
Definition: FileUtils.h:23
cond::FileReader::~FileReader
virtual ~FileReader()
Definition: FileUtils.h:11