Add api for PyAction::run()

This commit is contained in:
Joakim Hove
2020-04-13 07:59:52 +02:00
parent dc0b91609e
commit 466e21e37e

View File

@@ -25,6 +25,10 @@
#include <string>
namespace Opm {
class EclipseState;
class Schedule;
class SummaryState;
namespace Action {
class PyAction {
@@ -42,6 +46,7 @@ public:
PyAction() = default;
PyAction(const std::string& name, RunCount run_count, const std::string& code);
PyAction(const PyAction& other);
bool run(EclipseState&, Schedule&, std::size_t, SummaryState& ) const { return false; };
PyAction operator=(const PyAction& other);
~PyAction();