Go to the documentation of this file.
75 static bool configure(
const std::string& exe_name);
106 static std::string
resolve(
const std::string& resource,
107 bool prefer_debug =
false);
122 static std::string
resolve(
const PidPath& pp,
bool prefer_debug =
false);
std::string absolute_path_to_current_exe_
Definition: rpath_resolver.h:52
a class for describing path that can be managed by configuration files at runtime.
std::map< std::string, std::string > modules_in_use_
Definition: rpath_resolver.h:56
static std::string execution_Path()
get the path to the current executable.
root namespace for pid packages.
Definition: bitmask.h:51
defines a runtime path to a resource.
Definition: pid_path.h:166
std::string absolute_path_to_container_folder_
Definition: rpath_resolver.h:54
std::string exe_name_
Definition: rpath_resolver.h:55
static std::string resolve(const std::string &resource, bool prefer_debug=false)
resolve the path to the resource.
static bool configure_Module(bool toload, const std::string &module_path, bool prefer_debug)
configure the PID runtime path management system when a new module is to be loaded.
static bool resolve_Symlinks()
static bool configure(const std::string &exe_name)
configure the PID runtime path management system.
Singleton object to resolve runtime path in a PID system.
Definition: rpath_resolver.h:46
static RpathResolver * resolver_instance_
Definition: rpath_resolver.h:49
static std::string internal_Resolve_Dynamic(const PidPath &pp, bool prefer_debug)
static std::string internal_Resolve_Static(const PidPath &pp, bool prefer_debug)
static RpathResolver * instance()
static std::string get_Path_To_Resource(const std::string &final_filename, bool is_written)
static bool resolve_exe_path(const std::string &name_of_exe)