Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | List of all members
fs::path Class Reference

Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path::string() method, which have unsafe and unpredictable behavior on Windows (see implementation note in PathToString for details) More...

#include <fs.h>

Inheritance diagram for fs::path:
[legend]
Collaboration diagram for fs::path:
[legend]

Public Member Functions

 path (std::filesystem::path path)
 
pathoperator= (std::filesystem::path path)
 
pathoperator/= (std::filesystem::path path)
 
 path (const char *c)
 
pathoperator= (const char *c)
 
pathoperator/= (const char *c)
 
pathappend (const char *c)
 
 path (std::string)=delete
 
pathoperator= (std::string)=delete
 
pathoperator/= (std::string)=delete
 
pathappend (std::string)=delete
 
std::string string () const =delete
 
std::string u8string () const
 
pathmake_preferred ()
 
path filename () const
 

Detailed Description

Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path::string() method, which have unsafe and unpredictable behavior on Windows (see implementation note in PathToString for details)

Definition at line 30 of file fs.h.

Constructor & Destructor Documentation

◆ path() [1/3]

fs::path::path ( std::filesystem::path  path)
inline

Definition at line 34 of file fs.h.

◆ path() [2/3]

fs::path::path ( const char c)
inline

Definition at line 47 of file fs.h.

◆ path() [3/3]

fs::path::path ( std::string  )
delete

Member Function Documentation

◆ append() [1/2]

path & fs::path::append ( const char c)
inline

Definition at line 56 of file fs.h.

Here is the call graph for this function:

◆ append() [2/2]

path & fs::path::append ( std::string  )
delete

◆ filename()

path fs::path::filename ( ) const
inline

Definition at line 87 of file fs.h.

◆ make_preferred()

path & fs::path::make_preferred ( )
inline

Definition at line 83 of file fs.h.

◆ operator/=() [1/3]

path & fs::path::operator/= ( const char c)
inline

Definition at line 52 of file fs.h.

Here is the call graph for this function:

◆ operator/=() [2/3]

path & fs::path::operator/= ( std::filesystem::path  path)
inline

Definition at line 40 of file fs.h.

◆ operator/=() [3/3]

path & fs::path::operator/= ( std::string  )
delete

◆ operator=() [1/3]

path & fs::path::operator= ( const char c)
inline

Definition at line 48 of file fs.h.

Here is the call graph for this function:

◆ operator=() [2/3]

path & fs::path::operator= ( std::filesystem::path  path)
inline

Definition at line 36 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 72 of file fs.h.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: