|
| static std::vector< unsigned char > | loadFileData (const std::string &fileName) |
| | Load file data as byte array (read) More...
|
| |
| static std::string | loadFileText (const std::string &fileName) |
| | Load text data from file (read),. More...
|
| |
| static bool | saveFileText (const std::string &fileName, const std::string &text) |
| | Save text data to file (write) More...
|
| |
| static bool | fileExists (const std::string &fileName) |
| | Check if file exists. More...
|
| |
| static bool | directoryExists (const std::string &dirPath) |
| | Check if directory exists. More...
|
| |
| static bool | isFileExtension (const std::string &fileName, const std::string &ext) |
| | Check if file extension is valid. More...
|
| |
| static std::string | getFileExtension (const std::string &fileName) |
| | Get file extension. More...
|
| |
| static std::string | getFileName (const std::string &filePath) |
| | Get file name. More...
|
| |
| static std::string | getFileNameWithoutExt (const std::string &filePath) |
| | Get file name without extension. More...
|
| |
| static std::string | getDirectoryPath (const std::string &filePath) |
| | Get directory path. More...
|
| |
| static std::string | getPrevDirectoryPath (const std::string &dirPath) |
| | Get previous directory path. More...
|
| |
| static std::string | getWorkingDirectory () |
| | Get working directory. More...
|
| |
| static std::vector< std::string > | getDirectoryFiles (const std::string &dirPath, const bool &recursive=false) |
| | Get all files in directory. More...
|
| |
| static std::vector< std::string > | getDirectoryFiles (const std::string &dirPath, const std::function< bool(const std::string &)> &filterFunction) |
| | Get all files in directory with a filter. More...
|
| |
| static std::vector< std::string > | getDirectoryFiles (const std::string &dirPath, const bool &recursive, const std::function< bool(const std::string &fileName)> &filterFunction) |
| | Get all files in directory with a filter. More...
|
| |
| static void | changeDirectory (const std::string &dir) |
| | Change working directory. More...
|
| |
| static bool | isFileDropped () |
| | Check if a file has been dropped on the window. More...
|
| |
| static std::vector< std::string > | getDroppedFiles () |
| | Get dropped files paths. More...
|
| |
| static long long | getFileModTime (const std::string &fileName) |
| | Get file modification time (last write time) More...
|
| |