Public Member Functions |
virtual CSFile * | createFile (int mode) |
virtual void | copyFile (CSPath *to_file, bool overwrite) |
virtual void | makePath () |
virtual void | copyDir (CSPath *to_dir, bool overwrite) |
virtual bool | isLink () |
virtual bool | isEmpty () |
virtual void | emptyDir () |
virtual void | emptyPath () |
virtual void | copyTo (CSPath *to_path, bool overwrite) |
virtual void | moveTo (CSPath *to_path) |
virtual void | remove () |
virtual void | touch (bool create_path=false) |
virtual CSString * | getString () |
virtual const char * | getCString () |
virtual const char * | getNameCString () |
virtual bool | exists (bool *is_dir) |
virtual bool | exists () |
virtual void | info (bool *is_dir, off64_t *size, CSTime *mod_time) |
virtual off64_t | getSize () |
virtual bool | isDir () |
virtual CSFile * | openFile (int mode) |
virtual void | removeFile () |
virtual void | makeDir () |
virtual CSDirectory * | openDirectory () |
virtual void | removeDir () |
virtual void | rename (const char *name) |
virtual void | move (CSPath *to_path) |
CSPath * | getCWD () |
virtual void | retain () |
virtual void | release () |
uint32_t | getRefCount () |
virtual void | finalize () |
virtual CSObject * | getKey () |
virtual int | compareKey (CSObject *) |
virtual uint32_t | hashKey () |
virtual CSObject * | getHashLink () |
virtual void | setHashLink (CSObject *) |
virtual CSObject * | getNextLink () |
virtual CSObject * | getPrevLink () |
virtual void | setNextLink (CSObject *) |
virtual void | setPrevLink (CSObject *) |
Static Public Member Functions |
static void | info (const char *path, bool *is_dir, off64_t *size, CSTime *mod_time) |
static off64_t | getSize (const char *path) |
static CSPath * | getSystemCWD () |
static CSPath * | newPath (const char *path) |
static CSPath * | newPath (CSString *path) |
static CSPath * | newPath (CSPath *cwd, const char *path) |
static CSPath * | newPath (CSString *cwd, const char *path) |
static CSPath * | newPath (const char *cwd, CSString *path) |
static CSPath * | newPath (const char *cwd, const char *path) |
static bool | sys_exists (const char *path) |
static void | sys_makeDir (const char *path) |
static void | sys_removeDir (const char *path) |
static void | sys_removeFile (const char *path) |
static void | sys_rename (const char *old_path, const char *new_path) |
static void | sys_stat (const char *path, bool *is_dir, off64_t *size, CSTime *mod_time) |
static bool | sys_isLink (const char *path) |
static void | sys_getcwd (char *path, size_t size) |
static void | sys_setcwd (const char *path) |
static uint32_t | sys_getpid () |
static bool | sys_isAlive (uint32_t pid) |
Private Member Functions |
CSFile * | try_CreateAndOpen (CSThread *self, int mode, bool retry) |
Private Attributes |
CSString * | iPath |
Static Private Attributes |
static CSLock | iRename_lock |
static CSPath * | iCWD = NULL |
Friends |
class | TDPath |
Definition at line 46 of file CSPath.h.