|
libosmscout 1.1.1
|

Classes | |
| class | osmscout::CLASS_FINAL< DataLoader > |
| class | osmscout::HTMLWriter |
Functions | |
| OSMSCOUT_API FileOffset | osmscout::GetFileSize (const std::string &filename) |
| OSMSCOUT_API bool | osmscout::RemoveFile (const std::string &filename) |
| OSMSCOUT_API bool | osmscout::RenameFile (const std::string &oldFilename, const std::string &newFilename) |
| OSMSCOUT_API std::string | osmscout::GetDirectory (const std::string &file) |
| OSMSCOUT_API std::string | osmscout::AppendFileToDir (const std::string &dir, const std::string &file) |
| OSMSCOUT_API uint8_t | osmscout::BytesNeededToAddressFileData (const std::string &filename) |
| OSMSCOUT_API bool | osmscout::ExistsInFilesystem (const std::string &filename) |
| OSMSCOUT_API bool | osmscout::IsDirectory (const std::string &filename) |
Classes and methods related to low-level platform independent access to files on disk.
|
extern |
Append the filename 'name' to the directory name 'name' correctly adding directory delimiter if necessary.
|
extern |
Number of bytes needed to address the complete content of the given file.
| IOException |
|
extern |
Returns true of the given filename exists in the filesystem. Else it returns false.
Note that this function returns, does not tell you anything about the type of the filesystem entry. It you still be a regular file, a directory, a pipe or something completely different.
Also not ethat there is no differenciation in error codes. If there was an error during access to the file entry while though the file entry does in fact exists, false ist still returned.
| IOException | if the function is not implemented. |
|
extern |
Return everything (including the delimiter) before the last path delimiter. Returns empty string, if there is no delimiter.
|
extern |
Return the size of the file in the parameter size.
| IOException |
|
extern |
Returns true of the given filename points to a directory. Else it returns false.
| IOException | if there was an error or if the function is not implemented. |
|
extern |
Deletes the given file
|
extern |
Rename a file