25 #include "tools/Exception.h"
33 for(ActionSet::const_iterator p=actionset.begin();p!=actionset.end();++p){
35 if( !dynamic_cast<ActionSetup*>(*p) )
error(
"Action " +
getLabel() +
" is a setup action, and should be only preceeded by other setup actions");
std::vector containing the sequence of Action to be done.
void error(const std::string &msg) const
Crash calculation and print documentation.
const std::string & getLabel() const
Returns the label.
This class holds the keywords and their documentation.
static void registerKeywords(Keywords &keys)
Creator of keywords.
This class is used to bring the relevant information to the Action constructor.
Base class for all the input Actions.
static void registerKeywords(Keywords &keys)
Register all the relevant keywords for the action.
ActionSetup(const ActionOptions &ao)
Constructor.
void remove(const std::string &k)
Remove the keyword with name k.