#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). |
Boris Prochazka, xproch63@stud.fit.vutbr.cz
Martin Rapavy, xrapav00@stud.fit.vutbr.cz
Petr Zemek, xzemek02@stud.fit.vutbr.cz