/home/coin/SVN-release/OS-2.4.1/OS/src/OSUtils/OSFileUtil.h

Go to the documentation of this file.
00001 /* $Id: OSFileUtil.h 4292 2011-09-21 05:47:18Z kmartin $ */
00015 #ifndef FILEUTIL_H
00016 #define FILEUTIL_H
00017 
00018 
00019 #include <iostream>
00020 #include <sstream>
00021 #include <fstream>
00022 #include <string>
00023 
00037 class FileUtil
00038 {
00039 public:
00040 public:
00041 
00043     FileUtil();
00044 
00046     ~FileUtil();
00047 
00054     std::string getFileAsString(const  char* fname);
00055 
00062     char* getFileAsChar(const  char* fname);
00063 
00071     bool writeFileFromString(char* fname, std::string thestring);
00072 
00080     bool writeFileFromString(std::string fname, std::string thestring);
00081 
00089     bool writeFileFromChar(char* fname, char* ch);
00090 };//class FileUtil
00091 #endif

Generated on Thu Nov 10 03:05:51 2011 by  doxygen 1.4.7