BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelView::ProjectManagerInterface Class Referenceabstract

Interface class for ProjectManager family. More...

Inheritance diagram for ModelView::ProjectManagerInterface:
[legend]

Public Member Functions

virtual ~ProjectManagerInterface ()=default
 
virtual bool closeCurrentProject () const =0
 
virtual bool createNewProject (const std::string &dirname={})=0
 
virtual std::string currentProjectDir () const =0
 
virtual bool isModified () const =0
 
virtual bool openExistingProject (const std::string &dirname={})=0
 
virtual bool saveCurrentProject ()=0
 
virtual bool saveProjectAs (const std::string &dirname={})=0
 

Detailed Description

Interface class for ProjectManager family.

Responsible for handling new/save/save-as/close Project logic, where the Project represents a collection of serialized application models in the project directory.

Definition at line 28 of file projectmanagerinterface.h.

Constructor & Destructor Documentation

◆ ~ProjectManagerInterface()

virtual ModelView::ProjectManagerInterface::~ProjectManagerInterface ( )
virtualdefault

Member Function Documentation

◆ closeCurrentProject()

virtual bool ModelView::ProjectManagerInterface::closeCurrentProject ( ) const
pure virtual

◆ createNewProject()

virtual bool ModelView::ProjectManagerInterface::createNewProject ( const std::string &  dirname = {})
pure virtual

◆ currentProjectDir()

virtual std::string ModelView::ProjectManagerInterface::currentProjectDir ( ) const
pure virtual

◆ isModified()

virtual bool ModelView::ProjectManagerInterface::isModified ( ) const
pure virtual

◆ openExistingProject()

virtual bool ModelView::ProjectManagerInterface::openExistingProject ( const std::string &  dirname = {})
pure virtual

◆ saveCurrentProject()

virtual bool ModelView::ProjectManagerInterface::saveCurrentProject ( )
pure virtual

◆ saveProjectAs()

virtual bool ModelView::ProjectManagerInterface::saveProjectAs ( const std::string &  dirname = {})
pure virtual

The documentation for this class was generated from the following file: