#include <Actions.hpp>

Public Member Functions

 Actions ()=default
 
 Actions (const std::vector< ActionX > &action, const std::vector< PyAction > &pyactions)
 
size_t size () const
 
int max_input_lines () const
 
bool empty () const
 
void add (const ActionX &action)
 
void add (const PyAction &pyaction)
 
bool ready (std::time_t sim_time) const
 
const ActionXget (const std::string &name) const
 
const ActionXget (std::size_t index) const
 
std::vector< const ActionX * > pending (std::time_t sim_time) const
 
std::vector< const PyAction * > pending_python () const
 
std::vector< ActionX >::const_iterator begin () const
 
std::vector< ActionX >::const_iterator end () const
 
bool operator== (const Actions &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static Actions serializeObject ()
 

Constructor & Destructor Documentation

◆ Actions() [1/2]

Opm::Action::Actions::Actions ( )
default

◆ Actions() [2/2]

Opm::Action::Actions::Actions ( const std::vector< ActionX > &  action,
const std::vector< PyAction > &  pyactions 
)

Member Function Documentation

◆ add() [1/2]

void Opm::Action::Actions::add ( const ActionX action)

◆ add() [2/2]

void Opm::Action::Actions::add ( const PyAction pyaction)

◆ begin()

std::vector< ActionX >::const_iterator Opm::Action::Actions::begin ( ) const

◆ empty()

bool Opm::Action::Actions::empty ( ) const

◆ end()

std::vector< ActionX >::const_iterator Opm::Action::Actions::end ( ) const

◆ get() [1/2]

const ActionX & Opm::Action::Actions::get ( const std::string name) const

◆ get() [2/2]

const ActionX & Opm::Action::Actions::get ( std::size_t  index) const

◆ max_input_lines()

int Opm::Action::Actions::max_input_lines ( ) const

◆ operator==()

bool Opm::Action::Actions::operator== ( const Actions data) const

◆ pending()

std::vector< const ActionX * > Opm::Action::Actions::pending ( std::time_t  sim_time) const

◆ pending_python()

std::vector< const PyAction * > Opm::Action::Actions::pending_python ( ) const

◆ ready()

bool Opm::Action::Actions::ready ( std::time_t  sim_time) const

◆ serializeObject()

static Actions Opm::Action::Actions::serializeObject ( )
static

◆ serializeOp()

template<class Serializer >
void Opm::Action::Actions::serializeOp ( Serializer serializer)
inline

◆ size()

size_t Opm::Action::Actions::size ( ) const

The documentation for this class was generated from the following file: