CMS 3D CMS Logo

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