test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
24  static bool readStringFromFile(std::string const& filename, std::string& content);
28  static bool fileExists(std::string const& path);
29 };
30 }
31 #endif /* FILEIO_H_ */
32 
static bool readStringFromFile(std::string const &filename, std::string &content)
Definition: FileIO.cc:29
static void writeStringToFile(std::string const &filename, std::string &content)
Definition: FileIO.cc:21
static bool fileExists(std::string const &path)
Definition: FileIO.cc:43
tuple filename
Definition: lut2db_cfg.py:20