|
Mantid
|
#include "MantidAPI/WorkspaceHistory.h"#include "MantidAPI/AlgorithmHistory.h"#include "MantidAPI/IAlgorithm.h"#include "MantidPythonInterface/core/GetPointer.h"#include "MantidPythonInterface/core/Policies/RemoveConst.h"#include <boost/python/class.hpp>#include <boost/python/copy_const_reference.hpp>#include <boost/python/list.hpp>#include <boost/python/operators.hpp>#include <boost/python/register_ptr_to_python.hpp>#include <boost/python/self.hpp>Go to the source code of this file.
Functions | |
| void | export_WorkspaceHistory () |
| boost::python::list | getHistoriesAsList (const WorkspaceHistory &self) |
| Return a Python list of history objects from the workspace history as this is far easier to work with than a set. More... | |
| void export_WorkspaceHistory | ( | ) |
Definition at line 41 of file WorkspaceHistory.cpp.
References Mantid::API::WorkspaceHistory::empty(), Mantid::API::WorkspaceHistory::getAlgorithm(), Mantid::API::WorkspaceHistory::getAlgorithmHistory(), getHistoriesAsList(), Mantid::API::WorkspaceHistory::lastAlgorithm(), and Mantid::API::WorkspaceHistory::size().
| boost::python::list getHistoriesAsList | ( | const WorkspaceHistory & | self | ) |
Return a Python list of history objects from the workspace history as this is far easier to work with than a set.
| self | :: A reference to the WorkspaceHistory that called this method |
Definition at line 32 of file WorkspaceHistory.cpp.
Referenced by export_WorkspaceHistory().