HatchKeeper
0.90
The Free Open-Source Egg Incubation Software
|
Simple Platform Independent File Management Functions. More...
#include <File.h>
Public Member Functions | |
HK_File () | |
Constructor. More... | |
HK_File (string Path) | |
Overloaded Constructor, Sets Path. More... | |
bool | CopyFile (string Original, string Target) |
A Simple C Function To Copy File From Original To Target. More... | |
bool | Copy (string Target) |
Copy HK_FilePath To Target. More... | |
string | GetPath () |
Returns Path. More... | |
string | ReadText () |
Reads HK_FilePath Into String. More... | |
string | ReadTextFile (string FileName) |
Reads FileName Into String. More... | |
vector< string > | ScanFiles (string Path) |
Not Setup Yet. More... | |
void | SetPath (string Path) |
bool | WriteText (string Text) |
Writes Text To HK_FilePath. More... | |
bool | WriteTextFile (string FileName, string Text) |
Opens Filename And Writes Text. More... | |
Private Attributes | |
string | HK_FilePath |
Simple Platform Independent File Management Functions.
HK_File::HK_File | ( | ) |
Constructor.
Definition at line 12 of file HK_File.cpp.
HK_File::HK_File | ( | string | Path | ) |
Overloaded Constructor, Sets Path.
Definition at line 14 of file HK_File.cpp.
bool HK_File::Copy | ( | string | Target | ) |
Copy HK_FilePath To Target.
Definition at line 17 of file HK_File.cpp.
bool HK_File::CopyFile | ( | string | Original, |
string | Target | ||
) |
A Simple C Function To Copy File From Original To Target.
Definition at line 23 of file HK_File.cpp.
string HK_File::GetPath | ( | ) |
Returns Path.
Definition at line 52 of file HK_File.cpp.
string HK_File::ReadText | ( | ) |
Reads HK_FilePath Into String.
Definition at line 55 of file HK_File.cpp.
string HK_File::ReadTextFile | ( | string | FileName | ) |
Reads FileName Into String.
Definition at line 61 of file HK_File.cpp.
vector< string > HK_File::ScanFiles | ( | string | Path | ) |
Not Setup Yet.
Definition at line 106 of file HK_File.cpp.
void HK_File::SetPath | ( | string | Path | ) |
bool HK_File::WriteText | ( | string | Text | ) |
bool HK_File::WriteTextFile | ( | string | FileName, |
string | Text | ||
) |