Defines an interface to a MantidPlot class that can be saved into or loaded from a project.
More...
#include <IProjectSerialisable.h>
Defines an interface to a MantidPlot class that can be saved into or loaded from a project.
- Author
- Harry Jeffery, ISIS, RAL
- Date
- 31/07/2014
Definition at line 26 of file IProjectSerialisable.h.
◆ ~IProjectSerialisable()
virtual MantidQt::API::IProjectSerialisable::~IProjectSerialisable |
( |
| ) |
|
|
virtualdefault |
Virtual destructor (required by linker on some versions of OS X/Intel compiler)
◆ getWindowName()
virtual std::string MantidQt::API::IProjectSerialisable::getWindowName |
( |
| ) |
|
|
pure virtual |
◆ getWindowType()
virtual std::string MantidQt::API::IProjectSerialisable::getWindowType |
( |
| ) |
|
|
pure virtual |
◆ getWorkspaceNames()
virtual std::vector< std::string > MantidQt::API::IProjectSerialisable::getWorkspaceNames |
( |
| ) |
|
|
pure virtual |
Returns a list of workspace names that are used by this window.
◆ loadFromProject()
static IProjectSerialisable * MantidQt::API::IProjectSerialisable::loadFromProject |
( |
const std::string & |
lines, |
|
|
ApplicationWindow * |
app, |
|
|
const int |
fileVersion |
|
) |
| |
|
inlinestatic |
◆ saveToProject()
virtual std::string MantidQt::API::IProjectSerialisable::saveToProject |
( |
ApplicationWindow * |
app | ) |
|
|
pure virtual |
Serialises to a string that can be saved to a project file.
The documentation for this class was generated from the following file: