CL_FileHelp Class Reference
[clanCore I/O Data]

File operation helpers. More...

#include <file_help.h>

List of all members.

Static Public Member Functions

Operations
static void copy_file (const CL_String &from, const CL_String &to, bool copy_always)
 Copy a file.
static void delete_file (const CL_String &filename)
 Delete a file.
static bool file_exists (const CL_String &filename)
 Check if a file exists.


Detailed Description

File operation helpers.


Member Function Documentation

static void CL_FileHelp::copy_file const CL_String from,
const CL_String to,
bool  copy_always
[static]
 

Copy a file.

Parameters:
from Where to copy from
to Where to copy to
copy_always true = Copy, even if destination already exists. false = Do not copy if destination exists (throw a CL_Exception)

static void CL_FileHelp::delete_file const CL_String filename  )  [static]
 

Delete a file.

Parameters:
filename File to delete

static bool CL_FileHelp::file_exists const CL_String filename  )  [static]
 

Check if a file exists.

Parameters:
filename File to check for existance


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:36 2009 for ClanLib by  doxygen 1.4.6