![]() |
|
Wrapper for meteorological products derived from VolumeOp. More...
Public Member Functions | |
ProductCommand (const ProductCommand &cmd) | |
virtual void | update () override |
Returns a description for help functions. More... | |
void | exec () const override |
Run the command with current parameter values. | |
virtual std::ostream & | toStream (std::ostream &ostr) const |
![]() | |
BeanCommand (const std::string &name, const std::string &description) | |
BeanCommand (const BeanCommand &cmd) | |
BeanCommand (OP &b) | |
virtual const bean_t & | getBean () const |
virtual bean_t & | getBean () |
const std::string & | getName () const final |
const std::string & | getDescription () const final |
virtual const drain::ReferenceMap & | getParameters () const final |
![]() | |
Command (const Command &cmd) | |
virtual void | setParameters (const std::string &args) final |
template<class T > | |
void | setParameters (const T &args) |
template<class T > | |
void | setParameter (const std::string &key, const T &value) |
Set a value to a single parameter. More... | |
bool | hasParameters () const |
virtual const std::string & | getType () const |
Description of result, comparable to a return type of a function. ? | |
virtual void | run (const std::string ¶ms="") final |
Convenience. Sets parameters and executes the command. More... | |
Command & | addSection (int i) |
const std::string & | getLastParameters () const |
![]() | |
Contextual () | |
Sets internal contextPtr to NULL. | |
Contextual (const Contextual &src) | |
Copies base context (even null) of the source. Notice that the actual instance may be of derived class. | |
Contextual (Context &ctx) | |
Copies internal contextPtr. | |
template<class C > | |
void | setContext () |
Sets internal contextPtr to the static source. | |
void | setExternalContext (Context &ctx) |
Sets internal contextPtr to outside target. | |
bool | contextIsSet () const |
True, if contextPtr has been set. | |
template<class T = Context> | |
T & | getContext () const |
If context has been set, returns it through a cast to base class Context. More... | |
Additional Inherited Members | |
![]() | |
typedef OP | bean_t |
![]() | |
typedef int | cmd_section_type |
![]() | |
template<class T > | |
static Cloner< Context, T > & | getCloner () |
![]() | |
OP | bean |
![]() | |
cmd_section_type | section = 1 |
![]() | |
static const SprinterLayout | cmdArgLayout = {",", "?", "=", ""} |
![]() | |
virtual drain::ReferenceMap & | getParameters () final |
![]() | |
std::string | lastParameters |
![]() | |
Context * | contextPtr |
Wrapper for meteorological products derived from VolumeOp.
T | - product operator, like CappiOp. |
|
inlineoverridevirtual |
Returns a description for help functions.
this->bean.setParameters(params);
Determines if also intermediate results (1) are saved. See –aStore
Reimplemented from Command.