10 return _fileSystemPath.string().length();
15 return _fileSystemPath.empty();
20 _fileSystemPath = std::filesystem::path(
string().
append(str) );
26 _fileSystemPath = std::filesystem::relative( _fileSystemPath, base._fileSystemPath );
38 return ResourcePath { (lhs.fileSystemPath() / rhs.fileSystemPath()).
string() };
49 return ResourcePath{ (lhs.fileSystemPath() / rhs).
string() };
70 return lhs.fileSystemPath().lexically_normal().compare(rhs.fileSystemPath().lexically_normal()) == 0;
75 return lhs.fileSystemPath().lexically_normal().compare( rhs.fileSystemPath().lexically_normal() ) != 0;
Handle console commands that start with a forward slash.
FORCE_INLINE bool operator!=(const GUIDWrapper &lhs, const GUIDWrapper &rhs) noexcept
ResourcePath operator/(const ResourcePath &lhs, const ResourcePath &rhs)
ResourcePath & operator/=(ResourcePath &lhs, const ResourcePath &rhs)
bool operator==(const DisplayManager::OutputDisplayProperties &lhs, const DisplayManager::OutputDisplayProperties &rhs) noexcept
bool empty() const noexcept
size_t length() const noexcept
ResourcePath & append(std::string_view str)
ResourcePath & makeRelative(const ResourcePath &base)
ResourcePath getRelative(const ResourcePath &base) const