ProtoZed
awesome branch
A simple but powerful game framework
|
A file path. More...
Classes | |
struct | Attributes |
Public Types | |
enum | Type { T_NONEXISTANT, T_FILE, T_DIRECTORY } |
Public Member Functions | |
Path () | |
Path (const Path &other) | |
Path (const std::string &path) | |
Path (const char *path) | |
~Path () | |
Path & | operator= (const Path &other) |
Path & | operator= (const std::string &path) |
Path & | operator= (const char *path) |
bool | operator== (const Path &other) const |
bool | operator!= (const Path &other) const |
bool | operator< (const Path &other) const |
bool | operator> (const Path &other) const |
Path & | operator+= (const Path &other) |
const Path | operator+ (const Path &other) const |
Attributes | GetAttributes () const |
bool | Exists () const |
bool | IsEmpty () const |
void | Clear () |
const std::string & | ToString () const |
A file path.
All paths are guaranteed to:
enum PZ::Path::Type |
PZ::Path::Path | ( | ) |
PZ::Path::Path | ( | const Path & | other | ) |
PZ::Path::Path | ( | const std::string & | path | ) |
PZ::Path::Path | ( | const char * | path | ) |
PZ::Path::~Path | ( | ) |
|
inline |
bool PZ::Path::Exists | ( | ) | const |
Attributes PZ::Path::GetAttributes | ( | ) | const |
|
inline |
|
inline |
|
inline |
Path& PZ::Path::operator= | ( | const std::string & | path | ) |
Path& PZ::Path::operator= | ( | const char * | path | ) |
|
inline |
|
inline |
|
inline |