4 #include <nlohmann/json_fwd.hpp>
24 void add_path(
const std::filesystem::path& path);
28 std::pair<std::filesystem::path, bool>
resolve(
const std::filesystem::path& path)
const;
30 std::vector<std::filesystem::path>
get_paths()
const;
34 const std::filesystem::path& potential_base,
35 const std::filesystem::path& path);
void add_path(const std::filesystem::path &path)
std::unique_ptr< Impl > m_impl
PathResolver(PathResolver &&)
static std::pair< std::filesystem::path, bool > try_resolving_path(const std::filesystem::path &potential_base, const std::filesystem::path &path)
std::vector< std::filesystem::path > get_paths() const
std::pair< std::filesystem::path, bool > resolve(const std::filesystem::path &path) const
PathResolver & operator=(PathResolver &&)
#define WMTK_NLOHMANN_JSON_FRIEND_DECLARATION(Type)