Path class wrapper to prepare application code for transition from boost::filesystem library to std::filesystem implementation.
More...
#include <fs.h>
Path class wrapper to prepare application code for transition from boost::filesystem library to std::filesystem implementation.
The main purpose of the class is to define fs::path::u8string() and fs::u8path() functions not present in boost. It also blocks calls to the fs::path(std::string) implicit constructor and the fs::path::string() method, which worked well in the boost::filesystem implementation, but have unsafe and unpredictable behavior on Windows in the std::filesystem implementation (see implementation note in PathToString for details).
Definition at line 33 of file fs.h.
◆ path() [1/3]
fs::path::path |
( |
boost::filesystem::path |
path | ) |
|
|
inline |
Definition at line 37 of file fs.h.
◆ path() [2/3]
fs::path::path |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 50 of file fs.h.
◆ path() [3/3]
fs::path::path |
( |
std::string |
| ) |
|
|
delete |
◆ append() [1/2]
path& fs::path::append |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 59 of file fs.h.
◆ append() [2/2]
path& fs::path::append |
( |
std::string |
| ) |
|
|
delete |
◆ operator/=() [1/3]
path& fs::path::operator/= |
( |
boost::filesystem::path |
path | ) |
|
|
inline |
Definition at line 43 of file fs.h.
◆ operator/=() [2/3]
path& fs::path::operator/= |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 55 of file fs.h.
◆ operator/=() [3/3]
path& fs::path::operator/= |
( |
std::string |
| ) |
|
|
delete |
◆ operator=() [1/3]
path& fs::path::operator= |
( |
boost::filesystem::path |
path | ) |
|
|
inline |
Definition at line 39 of file fs.h.
◆ operator=() [2/3]
path& fs::path::operator= |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 51 of file fs.h.
◆ operator=() [3/3]
path& fs::path::operator= |
( |
std::string |
| ) |
|
|
delete |
◆ string()
std::string fs::path::string |
( |
| ) |
const |
|
delete |
◆ u8string()
std::string fs::path::u8string |
( |
| ) |
const |
|
inline |
Definition at line 77 of file fs.h.
The documentation for this class was generated from the following file: