Implements platform-independent File Operations.
More...
#include <FileOps.h>
Implements platform-independent File Operations.
◆ Create()
FileOps * OpenZWave::Internal::Platform::FileOps::Create |
( |
| ) |
|
|
static |
Create a FileOps cross-platform singleton.
- Returns
- a pointer to the file operations object.
- See also
- Destroy.
◆ Destroy()
void OpenZWave::Internal::Platform::FileOps::Destroy |
( |
| ) |
|
|
static |
◆ FileCopy()
bool OpenZWave::Internal::Platform::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 OpenZWave::Internal::Platform::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 OpenZWave::Internal::Platform::FileOps::FileRotate |
( |
const string & |
_fileName | ) |
|
|
static |
FileRotate. Rotate a File
- Parameters
-
- Returns
- Bool value indicating write permissions.
◆ FileWriteable()
bool OpenZWave::Internal::Platform::FileOps::FileWriteable |
( |
const string & |
_fileName | ) |
|
|
static |
FileWriteable. Check if we can write to a file.
- Parameters
-
- Returns
- Bool value indicating write permissions.
◆ FolderCreate()
bool OpenZWave::Internal::Platform::FileOps::FolderCreate |
( |
const string & |
_folderName | ) |
|
|
static |
FolderCreate. Create a Folder
- Parameters
-
- Returns
- Bool value indicating success.
◆ FolderExists()
bool OpenZWave::Internal::Platform::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: