#include <path.h>
◆ String
◆ Path() [1/6]
◆ Path() [2/6]
Path::Path |
( |
const Path & |
p | ) |
|
|
inline |
◆ Path() [3/6]
Path::Path |
( |
const char * |
p | ) |
|
|
inline |
◆ Path() [4/6]
Path::Path |
( |
const wchar_t * |
p | ) |
|
|
inline |
◆ Path() [5/6]
Path::Path |
( |
const std::string & |
s | ) |
|
|
inline |
◆ Path() [6/6]
Path::Path |
( |
const std::wstring & |
s | ) |
|
|
inline |
◆ Basename()
Path Path::Basename |
( |
| ) |
const |
|
inline |
◆ BeforeCommon()
Path Path::BeforeCommon |
( |
Path |
other | ) |
const |
|
inline |
Return the path before the common part of both paths.
- Parameters
-
other | Indicates the start of the path which should be removed |
- Note
- other should be a VfsPath, while this should be an OsPath
◆ ChangeExtension()
Path Path::ChangeExtension |
( |
Path |
extension | ) |
const |
|
inline |
◆ DetectSeparator()
void Path::DetectSeparator |
( |
| ) |
|
|
inlineprivate |
◆ empty()
bool Path::empty |
( |
| ) |
const |
|
inline |
◆ Extension()
Path Path::Extension |
( |
| ) |
const |
|
inline |
◆ Filename()
Path Path::Filename |
( |
| ) |
const |
|
inline |
◆ IsDirectory()
bool Path::IsDirectory |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool Path::operator!= |
( |
const Path & |
rhs | ) |
const |
|
inline |
◆ operator/()
◆ operator<()
bool Path::operator< |
( |
const Path & |
rhs | ) |
const |
|
inline |
◆ operator=()
Path & Path::operator= |
( |
const Path & |
rhs | ) |
|
|
inline |
◆ operator==()
bool Path::operator== |
( |
const Path & |
rhs | ) |
const |
|
inline |
◆ Parent()
Path Path::Parent |
( |
| ) |
const |
|
inline |
◆ PrintToDebugOutput()
void Path::PrintToDebugOutput |
( |
| ) |
const |
|
inlineprivate |
◆ string()
const String & Path::string |
( |
| ) |
const |
|
inline |
◆ string8()
std::string Path::string8 |
( |
| ) |
const |
|
inline |
Return a UTF-8 version of the path, in a human-readable but potentially lossy form.
It is not safe to take this string and construct a new Path object from it (it may fail for some non-ASCII paths) - it should only be used for displaying paths to users.
◆ Validate()
Status Path::Validate |
( |
String::value_type |
c | ) |
|
|
static |
◆ path
◆ separator
wchar_t Path::separator = L'/' |
|
private |
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/lib/path.h
- /home/docker/jenkins/workspace/technical-docs/source/lib/path.cpp