HatchKeeper  0.90
The Free Open-Source Egg Incubation Software
File.h
Go to the documentation of this file.
1 /*******************************************************************/
9 #ifndef _FILE_H__
10 #define _FILE_H__
11 
12 #include <vector>
13 #include <sstream>
14 #include <fstream>
15 #include <iostream>
16 
17 using namespace std;
18 
26 class HK_File {
27  private:
28  string HK_FilePath;
29  public:
30  HK_File();
31  HK_File(string Path);
32 
33  bool CopyFile(string Original, string Target);
34  bool Copy(string Target);
35 
36  string GetPath();
37 
38  string ReadText();
39  string ReadTextFile(string FileName);
40 
41  vector<string> ScanFiles(string Path);
42  void SetPath(string Path);
43 
44  bool WriteText(string Text);
45  bool WriteTextFile(string FileName, string Text);
46 };
47 
48 #endif
Simple Platform Independent File Management Functions.
Definition: File.h:26
string HK_FilePath
Definition: File.h:28
void SetPath(string Path)