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

Interface to manipulate projects on disk. More...

Inheritance diagram for ModelView::ProjectInterface:
[legend]

Public Member Functions

virtual ~ProjectInterface ()=default
 
virtual bool isModified () const =0
 
virtual bool load (const std::string &dirname)=0
 
virtual std::string projectDir () const =0
 
virtual bool save (const std::string &dirname) const =0
 

Detailed Description

Interface to manipulate projects on disk.

Project represents content of all application models in a folder on disk.

Definition at line 26 of file projectinterface.h.

Constructor & Destructor Documentation

◆ ~ProjectInterface()

virtual ModelView::ProjectInterface::~ProjectInterface ( )
virtualdefault

Member Function Documentation

◆ isModified()

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

Implemented in ModelView::Project.

◆ load()

virtual bool ModelView::ProjectInterface::load ( const std::string &  dirname)
pure virtual

Implemented in ModelView::Project.

◆ projectDir()

virtual std::string ModelView::ProjectInterface::projectDir ( ) const
pure virtual

Implemented in ModelView::Project.

◆ save()

virtual bool ModelView::ProjectInterface::save ( const std::string &  dirname) const
pure virtual

Implemented in ModelView::Project.


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