libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
File.cpp File Reference
#include <osmscout/private/Config.h>
#include <stdio.h>
#include <stdlib.h>
#include <osmscout/util/Exception.h>
#include <osmscout/util/File.h>
#include <osmscout/util/Number.h>




std::string osmscout::AppendFileToDir (const std::string &dir, const std::string &file)
 Append the filename 'name' to the directory name 'name' correctly adding directory delimiter if necessary. More...
uint8_t osmscout::BytesNeededToAddressFileData (const std::string &filename)
 Number of bytes needed to address the complete content of the given file. More...
bool osmscout::ExistsInFilesystem (const std::string &filename)
 Returns true of the given filename exists in the filesystem. More...
FileOffset osmscout::GetFileSize (const std::string &filename)
 Return the size of the file in the parameter size. More...
bool osmscout::IsDirectory (const std::string &filename)
 Returns true of the given filename points to a directory. More...
bool osmscout::RemoveFile (const std::string &filename)
 Deletes the given file. More...
bool osmscout::RenameFile (const std::string &oldFilename, const std::string &newFilename)
 Rename a file. More...