57 const auto history = it->getAlgorithmHistory();
58 const auto childHistories =
history->getChildHistories();
60 if (!it->isUnrolled() && !childHistories.empty()) {
65 std::vector<HistoryItem> tmpHistory(childHistories.cbegin(), childHistories.cend());
68 it =
m_historyItems.insert(it, tmpHistory.begin(), tmpHistory.end());
void rollChildren(std::vector< HistoryItem >::iterator it)
Check if our children are unrolled and if so roll them back up.
HistoryView(const WorkspaceHistory &wsHist)
std::vector< HistoryItem > m_historyItems
void roll(size_t index)
Roll an unrolled algorithm history item and remove its children from the view.
void rollAll()
Roll the entire algorithm history back up.
void filterBetweenExecDate(Mantid::Types::Core::DateAndTime start, Mantid::Types::Core::DateAndTime end=Mantid::Types::Core::DateAndTime::getCurrentTime())
Filter the list of history items to remove any anlgorithms whos start time is outside of the given ra...
void unrollAll()
Unroll the entire algorithm history.
void unroll(size_t index)
Unroll an algorithm history to export its child algorithms.
This class stores information about the Workspace History used by algorithms on a workspace and the e...
const AlgorithmHistories & getAlgorithmHistories() const
Retrieve the algorithm history list.