ODIN
|
#include <step.h>
Public Member Functions | |
virtual STD_string | label () const =0 |
virtual STD_string | description () const =0 |
virtual T * | allocate () const =0 |
virtual void | init ()=0 |
T * | clone () const |
void | set_args (const STD_string &argstr) |
STD_string | args_description () const |
STD_string | args_values () const |
unsigned int | numof_args () const |
void | append_opts (LDRblock &parblock) |
Protected Member Functions | |
void | append_arg (LDRbase &arg, const STD_string &arglabel) |
Base class for all steps (functors). The template argument is the type of the specialized, derived class.
Definition at line 35 of file odindata/step.h.
|
pure virtual |
Overload this function to allocate an empty object of the step.
|
protected |
Append step argument, to be used in init() of each step.
Definition at line 76 of file step_code.h.
Append arguments of the functor to parblock.
Definition at line 70 of file step_code.h.
STD_string Step< T >::args_description |
Returns description of arguments as comma-separated list.
Definition at line 35 of file step_code.h.
STD_string Step< T >::args_values |
Returns values of arguments as comma-separated list.
Definition at line 56 of file step_code.h.
T * Step< T >::clone |
Clone this step (including its arguments).
Definition at line 6 of file step_code.h.
|
pure virtual |
Overload this function to return a brief description of the functor.
|
pure virtual |
Initialize the step, i.e. initiliaze its parameters and append them by 'append_arg'.
|
pure virtual |
Overload this function to return a unique label for the functor.
|
inline |
Returns the number of arguments.
Definition at line 85 of file odindata/step.h.
void Step< T >::set_args | ( | const STD_string & | argstr | ) |
Overrides the arguments of the functor using a string with comma-separated argument values.
Definition at line 15 of file step_code.h.