|
fennec
|
struct for handling file paths More...
#include <path.h>
This structure makes no guarantees about the validity of a path. Operations do not examine the system's file structure.
Public Member Functions | |
| path () | |
| Default Constructor, returns the root of the current working directory. | |
| path (const cstring &str) | |
| C-String Conversion Constructor. | |
| path (const string &str) | |
| String Conversion Constructor. | |
| path (const path &p) | |
| Path Copy Constructor. | |
| path (path &&p) noexcept | |
| Path Move Constructor. | |
| template<size_t n> | |
| path & | operator= (const char(&str)[n]) |
| C-String Assignment Operator. | |
| path & | operator= (const cstring &p) |
| C-String Assignment Operator. | |
| path & | operator= (const string &p) |
| String Assignment Operator. | |
| path & | operator= (const path &p) |
| Path Copy Assignment Operator. | |
| path & | operator= (path &&p) noexcept |
| Path Move Assignment Operator. | |
| path | operator/ (const cstring &str) const |
Static Public Member Functions | |
| static path | current () |
| Get the current working directory. | |
| static path | current (const path &path) |
| Set the current working directory. | |
|
inline |
| str | the cstring to convert |
|
inline |
| str | the string to convert |
|
inline |
| p | the path to copy |
|
inlinenoexcept |
| p | the path to take ownership of |
|
static |
| path | the path to the new working directory |
| str | the cstring to assign |
this after assigning p | p | the cstring to assign |
this after assigning p | p | the cstring to assign |
this after assigning p | p | the path to copy |
this after copying p | p | the path to take ownership of |
this after taking ownership of p