15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_UTILS_BINUTILS_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_UTILS_BINUTILS_H
18 #include "mvvm/model_export.h"
std::string filename(const std::string &path)
Returns path without directory part ("Foo/Bar/Doz.int.gz" -> "Doz.int.gz")
bool is_text(const std::string &filename)
Returns true if file is text/ascii.
bool is_binary(const std::string &filename)
Returns true if file is binary.
materialitems.h Collection of materials to populate MaterialModel.