#include <path.h>
Public Member Functions | |
Path () | |
Path (const char *path) | |
Path (const std::string &path) | |
operator std::string () const | |
std::string | basename () const |
std::string | dirname () const |
Path | dir () const |
bool | exists () const |
Path | operator+ (const Path &other) const |
Static Public Member Functions | |
static const char * | separator () |
static const char * | separators () |
Static Public Attributes | |
static const char | SEPARATOR = '\\' |
Manipulates file/directory names and paths
utils::Path::Path | ( | ) | [inline] |
utils::Path::Path | ( | const char * | path | ) | [inline] |
utils::Path::Path | ( | const std::string & | path | ) | [inline] |
std::string utils::Path::basename | ( | ) | const [inline] |
Path utils::Path::dir | ( | ) | const [inline] |
std::string utils::Path::dirname | ( | ) | const [inline] |
bool utils::Path::exists | ( | ) | const [inline] |
utils::Path::operator std::string | ( | ) | const [inline] |
Joins two paths
other | The path that should be appended (has to be relative) |
static const char* utils::Path::separator | ( | ) | [inline, static] |
static const char* utils::Path::separators | ( | ) | [inline, static] |
const char utils::Path::SEPARATOR = '\\' [static] |