|
|
static std::string | CleanPath (const std::string &path) |
| |
|
static bool | AddLocation (const std::string &location, bool prepend=true) |
| |
|
static bool | RemoveLocation (const std::string &location) |
| |
|
static bool | SetSaveLocation (const std::string &location) |
| |
|
static std::string | GetSaveLocation () |
| |
|
static std::unique_ptr< CSDLFileWrapper > | GetSDLFileHandler (const std::string &filename) |
| |
|
static std::unique_ptr< CSDLMemoryWrapper > | GetSDLMemoryHandler (const std::string &filename) |
| |
|
static std::unique_ptr< CSNDFileWrapper > | GetSNDFileHandler (const std::string &filename) |
| |
| static bool | Exists (const std::string &filename) |
| | Check if file exists. More...
|
| |
| static bool | DirectoryExists (const std::string &directory) |
| | Check if file exists and is a directory. More...
|
| |
| static bool | CreateDirectory (const std::string &directory) |
| | Create directory in write directory. More...
|
| |
| static bool | RemoveDirectory (const std::string &directory) |
| | Remove directory in write directory, recursively. More...
|
| |
| static std::vector< std::string > | ListFiles (const std::string &directory) |
| | List files contained in directory. More...
|
| |
| static std::vector< std::string > | ListDirectories (const std::string &directory) |
| | List directories contained in directory. More...
|
| |
| static long long | GetFileSize (const std::string &filename) |
| | Returns file size in bytes. More...
|
| |
| static long long | GetLastModificationTime (const std::string &filename) |
| | Returns last modification date as timestamp. More...
|
| |
| static bool | Remove (const std::string &filename) |
| | Remove file. More...
|
| |