![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <ResourcePath.h>
Public Types | |
template<size_t N> | |
using | StringReturnType = std::conditional_t<(N > 0), Str< N >, Divide::string > |
Public Member Functions | |
ResourcePath ()=default | |
ResourcePath (const std::string_view path) | |
size_t | length () const noexcept |
bool | empty () const noexcept |
ResourcePath & | append (std::string_view str) |
ResourcePath & | makeRelative (const ResourcePath &base) |
ResourcePath | getRelative (const ResourcePath &base) const |
template<size_t N = 0> | |
StringReturnType< N > | string () const noexcept |
PROPERTY_R (std::filesystem::path, fileSystemPath) | |
Definition at line 46 of file ResourcePath.h.
using Divide::ResourcePath::StringReturnType = std::conditional_t<(N > 0), Str<N>, Divide::string> |
Definition at line 61 of file ResourcePath.h.
|
default |
|
inlineexplicit |
Definition at line 50 of file ResourcePath.h.
ResourcePath & Divide::ResourcePath::append | ( | std::string_view | str | ) |
Definition at line 18 of file ResourcePath.cpp.
|
noexcept |
Definition at line 13 of file ResourcePath.cpp.
ResourcePath Divide::ResourcePath::getRelative | ( | const ResourcePath & | base | ) | const |
Definition at line 30 of file ResourcePath.cpp.
|
noexcept |
Definition at line 8 of file ResourcePath.cpp.
ResourcePath & Divide::ResourcePath::makeRelative | ( | const ResourcePath & | base | ) |
Definition at line 24 of file ResourcePath.cpp.
Divide::ResourcePath::PROPERTY_R | ( | std::filesystem::path | , |
fileSystemPath | |||
) |
|
inlinenoexcept |
Definition at line 64 of file ResourcePath.h.