|
BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines namespace FileSystemUtils. More...
Go to the source code of this file.
Namespaces | |
| FileSystemUtils | |
| Utility functions to deal with file system. | |
Functions | |
| std::string | FileSystemUtils::extension (const std::string &path) |
| Returns extension of given filename. More... | |
| std::string | FileSystemUtils::extensions (const std::string &path) |
| Returns extension(s) of given filename. More... | |
| bool | FileSystemUtils::createDirectory (const std::string &dir_name) |
| Creates directory in current directory. | |
| bool | FileSystemUtils::createDirectories (const std::string &dir_name) |
| Creates directories in current directory for any element of dir_name which doesn't exist. | |
| std::vector< std::string > | FileSystemUtils::filesInDirectory (const std::string &dir_name) |
| Returns filenames of files in directory. | |
| std::string | FileSystemUtils::jointPath (const std::string &spath1, const std::string &spath2) |
| Returns joint path name. | |
| std::string | FileSystemUtils::filename (const std::string &path) |
| Returns path without directory part ("Foo/Bar/Doz.int.gz" -> "Doz.int.gz") | |
| std::string | FileSystemUtils::stem (const std::string &path) |
| Returns filename without extension. More... | |
| std::string | FileSystemUtils::stem_ext (const std::string &path) |
| Returns filename without extension(s). More... | |
| std::vector< std::string > | FileSystemUtils::glob (const std::string &dir, const std::string &pattern) |
| Returns file names that agree with a regex glob pattern. | |
| std::wstring | FileSystemUtils::convert_utf8_to_utf16 (const std::string &str) |
| Converts utf8 string represented by std::string to utf16 string represented by std::wstring. | |
| bool | FileSystemUtils::IsFileExists (const std::string &str) |
| Returns true if file with given name exists on disk. | |
Defines namespace FileSystemUtils.
Definition in file FileSystemUtils.h.