18 virtual std::wstring
readContent(
const std::wstring& path) = 0;
21 virtual void setBasePath(
const std::wstring& path) = 0;
24 virtual std::wstring
getFolderPath(
const std::wstring& path)
const = 0;
35 virtual std::wstring
readContent(
const std::wstring& path);
37 virtual std::wstring
getFolderPath(
const std::wstring& path)
const;
42 std::wstring getFullPath(
const std::wstring path)
const;
43 std::wstring basepath;
virtual std::wstring getFolderPath(const std::wstring &path) const =0
get folder of the provided path
virtual ~FilesystemPathResolver()
Definition: PathResolver.cpp:10
virtual void setBasePath(const std::wstring &path)=0
Set base path for resolving relative paths.
virtual std::wstring readContent(const std::wstring &path)
Locate the path and read its content.
Definition: PathResolver.cpp:19
virtual std::wstring getFolderPath(const std::wstring &path) const
get folder of the provided path
Definition: PathResolver.cpp:33
default implementation of PathResolver
Definition: PathResolver.h:29
virtual std::wstring readContent(const std::wstring &path)=0
Locate the path and read its content.
Definition: PathResolver.h:14
FilesystemPathResolver()
Definition: PathResolver.cpp:6
virtual void setBasePath(const std::wstring &path)
Set base path for resolving relative paths.
Definition: PathResolver.cpp:14