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

Go to the documentation of this file.
00001 
00016 #ifndef FILEUTIL_H
00017 #define FILEUTIL_H
00018 
00019 
00020 #include <iostream>
00021 #include <sstream>
00022 #include <fstream>
00023 #include <string>
00024 
00038 class FileUtil{
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 Sun Nov 14 14:06:39 2010 for Coin-All by  doxygen 1.4.7