Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
11848398
Commit
11848398
authored
Mar 26, 2020
by
Nick Draper
Browse files
Update comments for isExecuted
Haven't changed AlgorithmProxy as that class will be deleted in the next PR
parent
097abc6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/API/inc/MantidAPI/IAlgorithm.h
View file @
11848398
...
...
@@ -122,7 +122,7 @@ public:
/// Check whether the algorithm is initialized properly
virtual
bool
isInitialized
()
const
=
0
;
/// Check whether the algorithm has
already
been executed
/// Check whether the algorithm has been executed
sucessfully
virtual
bool
isExecuted
()
const
=
0
;
/// Raises the cancel flag. interuption_point() method if called inside exec()
...
...
Framework/API/src/Algorithm.cpp
View file @
11848398
...
...
@@ -141,7 +141,7 @@ bool Algorithm::isInitialized() const {
return
(
m_executionState
!=
ExecutionState
::
Uninitialized
);
}
/// Has the Algorithm already been executed
/// Has the Algorithm already been executed
successfully
bool
Algorithm
::
isExecuted
()
const
{
return
((
executionState
()
==
ExecutionState
::
Finished
)
&&
(
resultState
()
==
ResultState
::
Success
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment