FileFunctions.h File Reference

Some file functions for general use - declarations. More...

#include "common.h"

Go to the source code of this file.

Namespaces

namespace  FileFunctions

Functions

string FileFunctions::GetApplicationDirectory ()
 Returns application directory ended by '/'.
string FileFunctions::GetCurrentWorkingDirectory ()
 Returns current working directory ended by '/'.
string FileFunctions::GetFileNameFromPath (const string &path)
 Returns file name from the given path.
bool FileFunctions::FileExists (const string &file)
 Returns true if the selected file exists.
bool FileFunctions::DirectoryExists (const string &directory)
 Returns true if the selected directory exists.
bool FileFunctions::IsAbsolutePath (const string &path)
 Returns true if the selected path (address) is absolute.
string FileFunctions::CreateProperFilePath (const string &file)
 Converts selected file path to a "proper" one (see description for more info).
string FileFunctions::CreateProperDirectoryPath (const string &directory)
 Converts selected directory path to a "proper" one (see description for more info).
void FileFunctions::SetProgramStartedPath (string startedPath)
 Sets 'program started path'.
string FileFunctions::GetProgramStartedPath ()
 Returns 'program started path' (path from where the program was started).


Detailed Description

Some file functions for general use - declarations.

Author:
Libor Polcak, xpolca03@stud.fit.vutbr.cz

Boris Prochazka, xproch63@stud.fit.vutbr.cz

Martin Rapavy, xrapav00@stud.fit.vutbr.cz

Petr Zemek, xzemek02@stud.fit.vutbr.cz

Date:
7.4.2007

Generated on Sun Apr 29 11:46:10 2007 for IPP/ICP2007 by  doxygen 1.4.7