Utils::FS Namespace Reference

Namespace for general filesystem functions for cross-platform compatability. More...


Functions

ustring cwd ()
 Get the current working directory.
void move (const ustring &from, const ustring &to)
 Move a file on the filesystem.
bool dirExists (const ustring &path)
 Check if a directory exists.
void makeDir (const ustring &path)
 Create a directory.
void removeDir (const ustring &path)
 Recursively remove a directory.


Detailed Description

Namespace for general filesystem functions for cross-platform compatability.

Function Documentation

ustring Utils::FS::cwd (  ) 

Get the current working directory.

Returns:
The current working directory

bool Utils::FS::dirExists ( const ustring &  path  ) 

Check if a directory exists.

Parameters:
path The path to the directory in question
Returns:
true if it exists, false otherwise

void Utils::FS::makeDir ( const ustring &  path  ) 

Create a directory.

Parameters:
path The path of the new directory

void Utils::FS::move ( const ustring &  from,
const ustring &  to 
)

Move a file on the filesystem.

Parameters:
from The original file path
to The destination path

void Utils::FS::removeDir ( const ustring &  path  ) 

Recursively remove a directory.

Parameters:
path The directory's path


Generated on Fri Feb 22 22:29:24 2008 for Phoenix Wright Case Player API by  doxygen 1.5.3