21 #include <odindata/data.h>
44 virtual STD_string
label()
const = 0;
69 void set_args(
const STD_string& argstr);
103 const char* c_label()
const {
if(!label_cache.size()) label_cache=
label();
return label_cache.c_str();}
108 mutable STD_string label_cache;
133 T*
create(
const STD_string& label)
const;
138 STD_string
manual()
const;
147 typedef STD_map<STD_string,T*> StepMap;
150 mutable STD_list<T*> garbage;
unsigned int numof_pars() const
STD_string manual() const
T * create(const STD_string &label) const
STD_string get_cmdline_usage(const STD_string &lineprefix) const
StepFactory(LDRblock *parblock=0)
virtual T * allocate() const =0
void append_arg(LDRbase &arg, const STD_string &arglabel)
void set_args(const STD_string &argstr)
virtual STD_string description() const =0
void append_opts(LDRblock &parblock)
unsigned int numof_args() const
STD_string args_description() const
STD_string args_values() const
virtual STD_string label() const =0