Structure containing a normalized file path.
More...
#include <FilePath.hpp>
|
|
std::string | directory |
| | The directory of the file.
|
| |
|
std::string | filename |
| | The name of the file.
|
| |
Structure containing a normalized file path.
◆ FilePath() [1/3]
| rl::FilePath::FilePath |
( |
std::string |
dir, |
|
|
std::string |
name |
|
) |
| |
Creates a file path.
- Parameters
-
| dir | The directory of the file |
| name | The name of the file |
◆ FilePath() [2/3]
| rl::FilePath::FilePath |
( |
const std::string & |
path | ) |
|
Creates a file path.
- Parameters
-
| path | The full path of the file |
◆ FilePath() [3/3]
| rl::FilePath::FilePath |
( |
const char * |
path | ) |
|
Creates a file path.
- Parameters
-
| path | The full path of the file |
◆ operator std::string()
| rl::FilePath::operator std::string |
( |
| ) |
const |
Converts the file path into a string.
- Returns
- A string containing the directory and the filename
◆ operator==()
| bool rl::FilePath::operator== |
( |
const FilePath & |
other | ) |
const |
|
noexcept |
Compares the file path with another one.
- Parameters
-
- Returns
true if both paths are the same, false if not
The documentation for this struct was generated from the following file: