Implements platform-independent File Operations.
More...
#include <FileOps.h>
Implements platform-independent File Operations.
§ Create()
Create a FileOps cross-platform singleton.
- Returns
- a pointer to the file operations object.
- See also
- Destroy.
§ Destroy()
void FileOps::Destroy |
( |
| ) |
|
|
static |
§ FileCopy()
bool FileOps::FileCopy |
( |
const string & |
_fileName, |
|
|
const string & |
_destfileName |
|
) |
| |
|
static |
FileCopy. Copy a File
- Parameters
-
string. | source file name. |
string. | destination file name |
- Returns
- Bool value indicating success.
§ FileExists()
bool FileOps::FileExists |
( |
const string & |
_fileName | ) |
|
|
static |
FileExists. Check for the existence of a file.
- Parameters
-
- Returns
- Bool value indicating existence.
FileExists. Check for the existance of a file.
- Parameters
-
- Returns
- Bool value indicating existance.
§ FileRotate()
bool FileOps::FileRotate |
( |
const string & |
_fileName | ) |
|
|
static |
FileRotate. Rotate a File
- Parameters
-
- Returns
- Bool value indicating write permissions.
§ FileWriteable()
bool FileOps::FileWriteable |
( |
const string & |
_fileName | ) |
|
|
static |
FileWriteable. Check if we can write to a file.
- Parameters
-
- Returns
- Bool value indicating write permissions.
§ FolderCreate()
bool FileOps::FolderCreate |
( |
const string & |
_folderName | ) |
|
|
static |
FolderCreate. Create a Folder
- Parameters
-
- Returns
- Bool value indicating success.
§ FolderExists()
bool FileOps::FolderExists |
( |
const string & |
_folderName | ) |
|
|
static |
FolderExists. Check for the existence of a folder.
- Parameters
-
- Returns
- Bool value indicating existence.
The documentation for this class was generated from the following files: