System tools
|
Classes |
class | Chrono |
class | Params |
Filesystem |
void | copyFile (string source, string dest) |
| Copy the source file into dest.
|
void | renameFile (string source, string dest) |
| Rename the source file into dest.
|
void | deleteFile (string file) |
| Delete the file.
|
void | createDirectory (string file) |
| Create a directory.
|
long | fileSize (string file) |
| Returns the size of the file.
|
bool | exists (string file) |
| Returns true if the file exists, false otherwise.
|
bool | isDirectory (string file) |
| Returns true if the file is a directory, false otherwise.
|
Time |
void | start (Chrono &c) |
| Stores the start time in a Chrono object.
|
void | stop (Chrono &c) |
| Stores the end time in a Chrono object.
|
double | timeLapse (const Chrono &c) |
| Returns the elapsed time in seconds for a Chrono object.
|
Functions |
template<class T> |
void | message (T) |
| List the content of a directory in an Array<string>. Default is the program directory.
|
Detailed Description
Provides controls for the filesystem, time measures, etc. within IDIL: