#include <ufile.hpp>
Inheritance diagram for ubit::UFileMode:
Public Member Functions | |
UFileMode (int _mode=0) | |
UFileMode (const char *path) | |
UFileMode (const UStr &path) | |
int | getMode () const |
void | setMode (int mode) |
void | setMode (const char *path) |
void | setMode (const UStr &path) |
bool | isValid () const |
bool | isDir () const |
bool | isFile () const |
bool | isLink () const |
bool | isExec () const |
Static Public Attributes | |
static int | DIR = S_IFDIR |
static int | FILE = S_IFREG |
static int | LINK = S_IFLNK |
Protected Attributes | |
int | mode |