Drizzled Public API Documentation

CSPath Class Reference
Inheritance diagram for CSPath:
CSRefObject CSSys CSObject

List of all members.

Public Member Functions

virtual CSFilecreateFile (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 CSStringgetString ()
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 CSFileopenFile (int mode)
virtual void removeFile ()
virtual void makeDir ()
virtual CSDirectoryopenDirectory ()
virtual void removeDir ()
virtual void rename (const char *name)
virtual void move (CSPath *to_path)
CSPathgetCWD ()
virtual void retain ()
virtual void release ()
uint32_t getRefCount ()
virtual void finalize ()
virtual CSObjectgetKey ()
virtual int compareKey (CSObject *)
virtual uint32_t hashKey ()
virtual CSObjectgetHashLink ()
virtual void setHashLink (CSObject *)
virtual CSObjectgetNextLink ()
virtual CSObjectgetPrevLink ()
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 CSPathgetSystemCWD ()
static CSPathnewPath (const char *path)
static CSPathnewPath (CSString *path)
static CSPathnewPath (CSPath *cwd, const char *path)
static CSPathnewPath (CSString *cwd, const char *path)
static CSPathnewPath (const char *cwd, CSString *path)
static CSPathnewPath (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

CSFiletry_CreateAndOpen (CSThread *self, int mode, bool retry)

Private Attributes

CSStringiPath

Static Private Attributes

static CSLock iRename_lock
static CSPathiCWD = NULL

Friends

class TDPath

Detailed Description

Definition at line 46 of file CSPath.h.


The documentation for this class was generated from the following files: