#include <FileSystemPathComponents.h>
◆ FileSystemPathComponents()
FileSystemPathComponents::FileSystemPathComponents |
( |
std::string_view |
path | ) |
|
|
inlineexplicitprivate |
◆ extension()
std::string_view FileSystemPathComponents::extension |
( |
| ) |
const |
|
inline |
- Returns
- Extension of the last path component.
◆ name()
std::string_view FileSystemPathComponents::name |
( |
| ) |
const |
|
inline |
- Returns
- Last path component. Returns an empty string for empty path.
◆ prefix()
- Returns
- Path without the last path component. Note that this is different from the intuitive understanding of a "parent" path because
prefix
for "../.."
is ".."
, but the latter is not a parent of the former.
◆ stem()
std::string_view FileSystemPathComponents::stem |
( |
| ) |
const |
|
inline |
- Returns
- Name of the last path component w/o the extension.
◆ FileSystemPathView
◆ _extStart
size_t FileSystemPathComponents::_extStart |
|
private |
◆ _nameStart
size_t FileSystemPathComponents::_nameStart |
|
private |
◆ _path
std::string_view FileSystemPathComponents::_path |
|
private |
◆ _prefixEnd
size_t FileSystemPathComponents::_prefixEnd |
|
private |
The documentation for this class was generated from the following files: