#include <Actions.h>
Public Types | |
typedef std::map< std::string, actions::ActionCodes > | ActionMap |
Public Member Functions | |
ActionTable () | |
ActionTable (const ParameterSet &) | |
void | add (const std::string &category, actions::ActionCodes code) |
actions::ActionCodes | find (const std::string &category) const |
~ActionTable () | |
Private Member Functions | |
void | addDefaults () |
Private Attributes | |
ActionMap | map_ |
typedef std::map<std::string, actions::ActionCodes> edm::ActionTable::ActionMap |
edm::ActionTable::ActionTable | ( | ) |
edm::ActionTable::ActionTable | ( | const ParameterSet & | pset | ) | [explicit] |
Definition at line 63 of file Actions.cc.
References addDefaults(), edm::actions::FailPath, edm::actions::IgnoreCompletely, map_, edm::actions::Rethrow, and edm::actions::SkipEvent.
: map_() { addDefaults(); install(actions::SkipEvent, map_, pset); install(actions::Rethrow, map_, pset); install(actions::IgnoreCompletely, map_, pset); install(actions::FailPath, map_, pset); }
edm::ActionTable::~ActionTable | ( | ) |
Definition at line 86 of file Actions.cc.
{ }
void edm::ActionTable::add | ( | const std::string & | category, |
actions::ActionCodes | code | ||
) |
Definition at line 89 of file Actions.cc.
References python::rootplot::argparse::category, and map_.
void edm::ActionTable::addDefaults | ( | ) | [private] |
Definition at line 72 of file Actions.cc.
References dtNoiseDBValidation_cfg::cerr, edm::debugit, cuy::ib, and map_.
Referenced by ActionTable().
{ using namespace boost::lambda; // populate defaults that are not 'Rethrow' // (There are none as of CMSSW_3_4_X.) // 'Rethrow' is the default default. if(2 <= debugit()) { ActionMap::const_iterator ib(map_.begin()),ie(map_.end()); for(;ib != ie; ++ib) { std::cerr << ib->first << ',' << ib->second << '\n'; } std::cerr << std::endl; } }
actions::ActionCodes edm::ActionTable::find | ( | const std::string & | category | ) | const |
Definition at line 93 of file Actions.cc.
References i, map_, and reco_skim_cfg_mod::Rethrow.
Referenced by edm::EDLooperBase::doDuringLoop(), edm::Worker::doWork(), edm::Path::handleWorkerFailure(), and edm::Schedule::processOneOccurrence().
ActionMap edm::ActionTable::map_ [private] |
Definition at line 35 of file Actions.h.
Referenced by ActionTable(), add(), addDefaults(), and find().