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 
9  public:
10 
11  FileReader();
12 
13  virtual ~FileReader(){}
14 
15  bool read(const std::string& fileName);
16 
17  const std::string& content() const;
18 
19  private:
20 
22  };
23 
24 }
25 
26 inline
28 }
29 
30 inline
32  return m_content;
33 }
34 
35 #endif // CondCore_CondDB_FileUtils_h
36 
virtual ~FileReader()
Definition: FileUtils.h:13
std::string m_content
Definition: FileUtils.h:21
bool read(const std::string &fileName)
Definition: FileUtils.cc:6
const std::string & content() const
Definition: FileUtils.h:31
Definition: plugin.cc:24