#include <BVirtualFile.h>
Public Types | |
| enum | FileType { TYPE_DIRECTORY, TYPE_FILE, TYPE_NOEXIST } |
Public Member Functions | |
| std::vector< FileAndType > | directoryContents (const std::string &dir) |
| std::vector< FileAndType > | directoryContents () |
| FileType | typeOfFile (const std::string &filename) |
| int | sizeOfFile (const std::string &filename) |
| Return the file size, -1 if error. | |
| bool | changeDirectory (const std::string &dir) |
| std::string | currentDirectory () |
| bool | makeDirectory (const std::string &dir) |
| bool | renameFile (const std::string &fname1, const std::string &fname2) |
| bool | removeFile (const std::string &fname) |
| std::string | normalizePath (const std::string &str) |
| std::string | lastPathComponent (const std::string &str) |
| std::string | absolutePath (const std::string &str) |
| std::string | filenameExtension (const std::string &str) |
| Return filename extension in lower case, starting with ".". | |
| std::string | filenameWithoutExtension (const std::string &str) |
Static Public Member Functions | |
| BFileManager * | get () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return filename extension in lower case, starting with ".".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Return the file size, -1 if error.
|
|
|
|
1.3-rc3