CMS 3D CMS Logo

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:
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