Mantid
|
#include "MantidAPI/AlgorithmHistory.h"
#include "MantidAPI/IAlgorithm.h"
#include "MantidKernel/PropertyHistory.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/return_internal_reference.hpp>
#include <boost/python/self.hpp>
Go to the source code of this file.
Functions | |
void | export_AlgorithmHistory () |
boost::python::list | getChildrenAsList (const std::shared_ptr< AlgorithmHistory > &self) |
Return a Python list of child history objects from the history as this is far easier to work with than a set. More... | |
boost::python::list | getPropertiesAsList (const AlgorithmHistory &self) |
Return a Python list of property history objects from the history. More... | |
void export_AlgorithmHistory | ( | ) |
Definition at line 53 of file AlgorithmHistory.cpp.
References Mantid::API::AlgorithmHistory::childHistorySize(), Mantid::API::AlgorithmHistory::execCount(), Mantid::API::AlgorithmHistory::executionDate(), Mantid::API::AlgorithmHistory::executionDuration(), Mantid::API::AlgorithmHistory::getChildAlgorithm(), Mantid::API::AlgorithmHistory::getChildAlgorithmHistory(), getChildrenAsList(), getPropertiesAsList(), Mantid::API::AlgorithmHistory::getPropertyValue(), Mantid::API::AlgorithmHistory::name(), and Mantid::API::AlgorithmHistory::version().
boost::python::list getChildrenAsList | ( | const std::shared_ptr< AlgorithmHistory > & | self | ) |
Return a Python list of child history objects from the history as this is far easier to work with than a set.
self | :: A reference to the AlgorithmHistory that called this method |
Definition at line 29 of file AlgorithmHistory.cpp.
References history.
Referenced by export_AlgorithmHistory().
boost::python::list getPropertiesAsList | ( | const AlgorithmHistory & | self | ) |
Return a Python list of property history objects from the history.
self | :: A reference to the AlgorithmHistory that called this method |
Definition at line 44 of file AlgorithmHistory.cpp.
References Mantid::API::AlgorithmHistory::getProperties(), and history.
Referenced by export_AlgorithmHistory().