A class used to copy data from temp files and export files.
More...
#include <Export.h>
|
| static std::string | getTempPath () |
| | Gets the system temporary directory. More...
|
| |
|
static void | deleteTempFiles (std::vector< std::string > dirs) |
| | Deletes all the files in the vector.
|
| |
A class used to copy data from temp files and export files.
| Export::Export |
( |
std::string |
targetFile | ) |
|
Construct a new instance of the Export class.
- Parameters
-
| The | target directory of the file |
| void Export::copyData |
( |
std::vector< std::string > |
dirs | ) |
|
Copies the data from the temp file.
- Parameters
-
| The | input file directory to copy from |
| std::string Export::getFileExtension |
( |
std::string |
file_path | ) |
|
Identify the file extension of the provided file.
- Parameters
-
| file_path | path to the file to identify the extension |
- Returns
- std::string the extension of the provided file
| std::string Export::getTempPath |
( |
| ) |
|
|
static |
Gets the system temporary directory.
- Returns
- string the absolute path to the system temp directory
The documentation for this class was generated from the following files: