BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
projectutils.h File Reference

Defines class CLASS? More...

Include dependency graph for projectutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ModelView
 materialitems.h Collection of materials to populate MaterialModel.
 
 ModelView::ProjectUtils
 Collection of utility functions to handle project saving and loading.
 

Functions

MVVM_MODEL_EXPORT std::unique_ptr< ProjectInterface > ModelView::ProjectUtils::CreateUntitledProject (const ProjectContext &context)
 Creates new untitled project. More...
 
MVVM_MODEL_EXPORT bool ModelView::ProjectUtils::IsPossibleProjectDir (const std::string &project_dir)
 Returns 'true' if given directory might be a project directory. More...
 
MVVM_MODEL_EXPORT std::string ModelView::ProjectUtils::ProjectWindowTitle (const ProjectInterface &project)
 Returns a MainWindow title for given project. More...
 
MVVM_MODEL_EXPORT std::string ModelView::ProjectUtils::ProjectWindowTitle (const std::string &project_dir, bool is_modified)
 Returns a title composed from last part of project path, and is_modified flag. More...
 
MVVM_MODEL_EXPORT std::string ModelView::ProjectUtils::SuggestFileName (const SessionModel &model)
 Suggests file name which can be used to store json content of given model. More...
 

Detailed Description

Defines class CLASS?

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file projectutils.h.