Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondCore
DBCommon
interface
FileUtils.h
Go to the documentation of this file.
1
#ifndef CondCoreDBCommon_FileUtils_H
2
#define CondCoreDBCommon_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
21
std::string
m_content
;
22
};
23
24
}
25
26
inline
27
cond::FileReader::FileReader
():m_content(
""
){
28
}
29
30
inline
31
const
std::string&
cond::FileReader::content
()
const
{
32
return
m_content;
33
}
34
35
#endif // CondCoreDBCommon_FileUtils_H
36
cond::FileReader::~FileReader
virtual ~FileReader()
Definition:
FileUtils.h:13
cond::FileReader::m_content
std::string m_content
Definition:
FileUtils.h:21
convertXMLtoSQLite_cfg.fileName
tuple fileName
Definition:
convertXMLtoSQLite_cfg.py:12
cond::FileReader
Definition:
FileUtils.h:7
cond::FileReader::read
bool read(const std::string &fileName)
Definition:
FileUtils.cc:6
cond::FileReader::FileReader
FileReader()
Definition:
FileUtils.h:27
cond::FileReader::content
const std::string & content() const
Definition:
FileUtils.h:31
Generated for CMSSW Reference Manual by
1.8.5