StepFactory< T > Class Template Reference
[Classes of the ODIN data processing framework (odindata library)]

#include <step.h>

List of all members.

Public Member Functions

 StepFactory (JcampDxBlock *parblock=0)
T * create (const STD_string &label) const
STD_string manual () const
STD_string get_cmdline_usage (const STD_string &lineprefix) const


Detailed Description

template<class T>
class StepFactory< T >

Factory for steps (functors). The template argument is the type of the step to be created by the factory.

Definition at line 115 of file odindata/step.h.


Constructor & Destructor Documentation

template<class T>
StepFactory< T >::StepFactory ( JcampDxBlock parblock = 0  )  [inline]

Set up factory (creates template objects). Appends parameters of all steps to 'parblock'.

Definition at line 68 of file step_code.h.


Member Function Documentation

template<class T>
T * StepFactory< T >::create ( const STD_string &  label  )  const [inline]

Returns allocated step functor which matches given 'label'.

Definition at line 89 of file step_code.h.

template<class T>
STD_string StepFactory< T >::manual (  )  const [inline]

Returns documention 'code' for doxygen.

Definition at line 115 of file step_code.h.

template<class T>
STD_string StepFactory< T >::get_cmdline_usage ( const STD_string &  lineprefix  )  const [inline]

Returns documention for command line.

Definition at line 192 of file step_code.h.


The documentation for this class was generated from the following files:

Generated on Wed Sep 30 15:33:28 2009 by  doxygen 1.5.6