BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines class CLASS? More...
Go to the source code of this file.
Namespaces | |
ModelView | |
materialitems.h Collection of materials to populate MaterialModel. | |
ModelView::Utils | |
Collection of various widget-related utils. | |
Functions | |
MVVM_MODEL_EXPORT std::string | ModelView::Utils::base_name (const std::string &path) |
Provide the filename of a file path. More... | |
MVVM_MODEL_EXPORT bool | ModelView::Utils::create_directory (const std::string &path) |
Create directory, parent directory must exist. More... | |
MVVM_MODEL_EXPORT bool | ModelView::Utils::exists (const std::string &fileName) |
Returns true if file exists. More... | |
MVVM_MODEL_EXPORT std::vector< std::string > | ModelView::Utils::FindFiles (const std::string &dirname, const std::string &ext) |
Returns list of files with given extention found in given directory. More... | |
MVVM_MODEL_EXPORT bool | ModelView::Utils::is_empty (const std::string &path) |
Returns true if the file indicated by 'path' refers to empty file or directory. More... | |
MVVM_MODEL_EXPORT std::string | ModelView::Utils::join (const std::string &part1, const std::string &part2) |
Joins two path elements into the path. More... | |
MVVM_MODEL_EXPORT std::string | ModelView::Utils::parent_path (const std::string &path) |
Returns the path to the parent directory. More... | |
MVVM_MODEL_EXPORT bool | ModelView::Utils::remove (const std::string &path) |
Removes file or empty directory. More... | |
MVVM_MODEL_EXPORT void | ModelView::Utils::remove_all (const std::string &path) |
Removes directory with all its content. More... | |
Defines class CLASS?
Definition in file fileutils.h.