21 #ifndef ActionCOnfig_HPP
22 #define ActionCOnfig_HPP
28 #include <opm/parser/eclipse/EclipseState/Schedule/Action/ActionX.hpp>
29 #include <opm/parser/eclipse/EclipseState/Schedule/Action/PyAction.hpp>
44 Actions(
const std::vector<ActionX>& action,
const std::vector<PyAction>& pyactions);
46 static Actions serializeObject();
48 std::size_t py_size()
const;
49 std::size_t ecl_size()
const;
50 int max_input_lines()
const;
52 void add(
const ActionX& action);
54 bool ready(
const State& state, std::time_t sim_time)
const;
55 const ActionX& operator[](
const std::string& name)
const;
56 const ActionX& operator[](std::size_t index)
const;
57 std::vector<const ActionX *> pending(
const State& state, std::time_t sim_time)
const;
58 std::vector<const PyAction *> pending_python()
const;
60 std::vector<ActionX>::const_iterator begin()
const;
61 std::vector<ActionX>::const_iterator end()
const;
63 bool operator==(
const Actions& data)
const;
65 template<
class Serializer>
68 serializer.vector(actions);
69 serializer.vector(pyactions);
73 std::vector<ActionX> actions;
74 std::vector<PyAction> pyactions;
Definition: ActionX.hpp:74
Definition: Actions.hpp:41
Definition: PyAction.hpp:39
Definition: Serializer.hpp:38
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29