Wildmeshing Toolkit
|
#include <PathResolver.hpp>
Classes | |
struct | Impl |
Public Member Functions | |
PathResolver () | |
PathResolver (const std::filesystem::path &path) | |
~PathResolver () | |
PathResolver (PathResolver &&) | |
PathResolver (const PathResolver &) | |
PathResolver & | operator= (PathResolver &&) |
PathResolver & | operator= (const PathResolver &) |
void | add_path (const std::filesystem::path &path) |
void | clear_paths () |
std::pair< std::filesystem::path, bool > | resolve (const std::filesystem::path &path) const |
std::vector< std::filesystem::path > | get_paths () const |
Static Public Member Functions | |
static std::pair< std::filesystem::path, bool > | try_resolving_path (const std::filesystem::path &potential_base, const std::filesystem::path &path) |
Private Attributes | |
std::unique_ptr< Impl > | m_impl |
Definition at line 12 of file PathResolver.hpp.
wmtk::components::utils::PathResolver::PathResolver | ( | ) |
Definition at line 55 of file PathResolver.cpp.
wmtk::components::utils::PathResolver::PathResolver | ( | const std::filesystem::path & | path | ) |
Definition at line 59 of file PathResolver.cpp.
References m_impl.
|
default |
|
default |
wmtk::components::utils::PathResolver::PathResolver | ( | const PathResolver & | o | ) |
Definition at line 65 of file PathResolver.cpp.
void wmtk::components::utils::PathResolver::add_path | ( | const std::filesystem::path & | path | ) |
Definition at line 81 of file PathResolver.cpp.
References m_impl.
void wmtk::components::utils::PathResolver::clear_paths | ( | ) |
Definition at line 77 of file PathResolver.cpp.
References m_impl.
std::vector< std::filesystem::path > wmtk::components::utils::PathResolver::get_paths | ( | ) | const |
Definition at line 92 of file PathResolver.cpp.
References m_impl.
Referenced by wmtk::components::input::input().
PathResolver & wmtk::components::utils::PathResolver::operator= | ( | const PathResolver & | o | ) |
Definition at line 69 of file PathResolver.cpp.
References m_impl.
|
default |
std::pair< std::filesystem::path, bool > wmtk::components::utils::PathResolver::resolve | ( | const std::filesystem::path & | path | ) | const |
Definition at line 86 of file PathResolver.cpp.
References m_impl.
Referenced by wmtk::components::input::input().
|
static |
Definition at line 8 of file PathResolver.cpp.
Referenced by wmtk::components::utils::PathResolver::Impl::resolve().
|
private |
Definition at line 42 of file PathResolver.hpp.
Referenced by add_path(), clear_paths(), get_paths(), operator=(), PathResolver(), and resolve().