tetengo 1.8.2
A multipurpose library set
Loading...
Searching...
No Matches
propertyX.hpp
Go to the documentation of this file.
1
7#if !defined(TETENGO_PLATFORMDEPENDENT_PROPERTYSETFILEPATH_HPP)
8#define TETENGO_PLATFORMDEPENDENT_PROPERTYSETFILEPATH_HPP
9
10#include <filesystem>
11#include <memory>
12
13#include <boost/core/noncopyable.hpp>
14
15
17{
21 class property_set_file_path : private boost::noncopyable
22 {
23 public:
24 // static functions
25
31 [[nodiscard]] static const property_set_file_path& instance();
32
33
34 // constructors and destructor
35
40
41
42 // functions
43
53 [[nodiscard]] std::filesystem::path to_native_path(const std::filesystem::path& generic_path) const;
54
64 [[nodiscard]] std::filesystem::path to_native_top_path(const std::filesystem::path& generic_path) const;
65
66
67 private:
68 // types
69
70 class impl;
71
72
73 // variables
74
75 const std::unique_ptr<impl> m_p_impl;
76
77
78 // constructors
79
81 };
82
83
84}
85
86
87#endif
A property set file path.
Definition propertyX.hpp:22
static const property_set_file_path & instance()
Returns the instance.
std::filesystem::path to_native_path(const std::filesystem::path &generic_path) const
Converts a generic path to a native path.
std::filesystem::path to_native_top_path(const std::filesystem::path &generic_path) const
Converts a generic path to a native top path.
~property_set_file_path()
Destroys the property set file path.
Platform dependent processings.