#include <path.hpp>
Public Member Functions | |
| Path (const std::string &path="") | |
| Path (const char *path) | |
| Path (const Path &path) | |
| Path & | operator= (const Path &) |
| bool | operator== (const Path &) const |
| const std::string & | path () const |
| const char * | c_str () const |
| bool | isset () const |
| const bool | isUrl () const |
| void | addComponent (const char *component) |
| void | addComponent (const std::string &component) |
| void | split (std::string &dirpath, std::string &basename) const |
| void | split (std::string &dir, std::string &filename, std::string &ext) const |
| std::string | basename () const |
| std::string | dirpath () const |
| std::string | substr (const size_t index) const |
| std::string | unescape () const |
| size_t | length () const |
| std::string | native () const |
Static Public Member Functions | |
| static Path | getTempDir () |
|
|
Constructor that takes a string as parameter. The string is converted to subversion internal representation. The string is copied.
|
|
|
Constructor
|
|
|
Copy constructor
|
|
|
adds a new URL component to the path
|
|
|
adds a new URL component to the path
|
|
|
get a basename of a file
|
|
|
|
|
|
get a name of directory containing file
|
|
|
returns the temporary directory |
|
|
check whether a path is set. Right now this checks only if the string is non- empty.
|
|
|
shows whether we have a path or url
|
|
|
return the length of the path-string |
|
|
returns the path with native separators |
|
|
Assignment operator |
|
|
Comparison operator |
|
|
|
|
||||||||||||||||
|
split path in its components including file extension
|
|
||||||||||||
|
split path in its components
|
|
|
get a substring of a path, starting at index
|
|
|
return path as a string with unescaped special characters
|
1.4.6