UNIX-LIKE Path Conversion Class.
More...
#include <Path.h>
UNIX-LIKE Path Conversion Class.
◆ Path() [1/3]
Path::Path |
( |
const char * | unix_path | ) |
|
|
noexcept |
Path constructor.
for Windows:
/c/Windows -> c:/Windows
/C/Users -> C:/Users
./Dir -> ./Dir
Dir -> Dir
*
- Parameters
-
unix_path | UNIX-LIKE format path |
◆ Path() [2/3]
Path::Path |
( |
const std::string_view & | unix_path | ) |
|
|
noexcept |
Path constructor.
for Windows:
/c/Windows -> c:/Windows
/C/Users -> C:/Users
./Dir -> ./Dir
Dir -> Dir
*
- Parameters
-
unix_path | UNIX-LIKE format path |
References unix_path, and valid.
◆ Path() [3/3]
sese::system::Path::Path |
( |
| ) |
|
|
default |
◆ fromNativePath()
Path Path::fromNativePath |
( |
const std::string & | native_path | ) |
|
|
staticnoexcept |
◆ getNativePath()
const std::string & sese::system::Path::getNativePath |
( |
| ) |
const |
|
inlinenodiscard |
◆ getUnixPath()
const std::string & sese::system::Path::getUnixPath |
( |
| ) |
const |
|
inlinenodiscard |
◆ isValid()
bool sese::system::Path::isValid |
( |
| ) |
const |
|
inlinenodiscard |
◆ unix_path
std::string sese::system::Path::unix_path {} |
|
protected |
◆ valid
bool sese::system::Path::valid = false |
|
protected |
The documentation for this class was generated from the following files: