ClanLib  2.3.7
List of all members
CL_FileHelp Class Reference

File operation helpers. More...

#include <file_help.h>

Static Public Member Functions

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

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
fromWhere to copy from
toWhere to copy to
copy_alwaystrue = 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
filenameFile to delete
static bool CL_FileHelp::file_exists ( const CL_String filename)
static

Check if a file exists.

Parameters
filenameFile to check for existance

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