File operation helpers.
More...
#include <file_help.h>
static void CL_FileHelp::copy_file |
( |
const CL_String & |
from, |
|
|
const CL_String & |
to, |
|
|
bool |
copy_always |
|
) |
| |
|
static |
Copy a file.
- Parameters
-
from | Where to copy from |
to | Where to copy to |
copy_always | true = Copy, even if destination already exists. false = Do not copy if destination exists (throw a CL_Exception) |
static void CL_FileHelp::delete_file |
( |
const CL_String & |
filename) | |
|
|
static |
Delete a file.
- Parameters
-
static bool CL_FileHelp::file_exists |
( |
const CL_String & |
filename) | |
|
|
static |
Check if a file exists.
- Parameters
-
filename | File to check for existance |
The documentation for this class was generated from the following file: