OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
ResourcePathUtils.hpp File Reference
#include <algorithm>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/directory.hpp>
#include <cctype>
#include <cstddef>
#include <string>
#include <vector>
#include <boost/filesystem.hpp>
#include <boost/log/trivial.hpp>
Include dependency graph for ResourcePathUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::resource_path

Functions

std::string Slic3r::resource_path::ascii_lower_copy (const std::string &value)
boost::filesystem::path Slic3r::resource_path::portable_path_copy (const boost::filesystem::path &value)
int Slic3r::resource_path::hex_digit_value (char ch)
std::string Slic3r::resource_path::percent_decode_copy (const std::string &value)
std::string Slic3r::resource_path::strip_file_uri_prefix_copy (const std::string &value)
bool Slic3r::resource_path::file_uri_has_remote_authority (const std::string &value)
bool Slic3r::resource_path::looks_like_windows_absolute_path (const boost::filesystem::path &path)
boost::filesystem::path Slic3r::resource_path::filename_from_portable_path (const boost::filesystem::path &value)
boost::filesystem::path Slic3r::resource_path::find_child_case_insensitive (const boost::filesystem::path &directory, const boost::filesystem::path &requested_name, const char *context)
boost::filesystem::path Slic3r::resource_path::resolve_existing_path_case_insensitive (const boost::filesystem::path &requested_path, const char *context="resource_path")
boost::filesystem::path Slic3r::resource_path::resolve_existing_relative_path_case_insensitive (const boost::filesystem::path &base_dir, const boost::filesystem::path &resource_path, const char *context="resource_path")
boost::filesystem::path Slic3r::resource_path::resolve_external_resource_path (const boost::filesystem::path &base_dir, const std::string &raw_path, const char *context="resource_path", bool allow_basename_fallback=true)