File utilities.
More...
#include <Files.hpp>
◆ copy()
Copy the contents of the source file into the destination file.
◆ readToString()
Read the specified file into a string.
- Exceptions
-
FileNotFoundException | if the file does not exist or is not a regular file |
◆ readToVector()
Read the specified file into a character vector.
- Exceptions
-
FileNotFoundException | if the file does not exist or is not a regular file |
◆ toLines()
static std::vector<std::string> toLines |
( |
const Resource::File & |
file | ) |
|
|
inlinestatic |
Read all lines of text of the specified file into a string vector.
- Exceptions
-
FileNotFoundException | if the file does not exist or is not a regular file |
The documentation for this struct was generated from the following file: