#include <inputParam.hh>
Public Member Functions | |
InputParameter (InOutParameters &input) | |
virtual std::ostream & | letters (std::ostream &os) const =0 |
virtual std::ostream & | arguments (std::ostream &os) const =0 |
Returns argument list as string. | |
virtual std::ostream & | description (std::ostream &os) const =0 |
Returns description for help. | |
virtual int | input (int opt, const char *optarg)=0 |
const InOutParameters | parameters () const |
Returns input parameters. | |
InOutParameters & | parameters () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
InOutParameters & | input_ |
Input parameter. | |
Abstract class for carrying information, which helps for reading input parameters from command line.
Definition at line 24 of file inputParam.hh.
concepts::InputParameter::InputParameter | ( | InOutParameters & | input | ) |
Constructor
input | object where the input parameters are written to |
|
pure virtual |
Returns argument list as string.
Implemented in concepts::InputAdaptiveModels, hp2D::InputEddy2D_E, concepts::InputEddy2DGeometries, hp2D::InputEddy2D_H, hp2D::InputMaxwell2D_E, hp2D::InputMaxwell2D_H, and concepts::InputFile.
|
pure virtual |
Returns description for help.
Implemented in concepts::InputAdaptiveModels, hp2D::InputEddy2D_E, concepts::InputEddy2DGeometries, hp2D::InputEddy2D_H, hp2D::InputMaxwell2D_E, hp2D::InputMaxwell2D_H, and concepts::InputFile.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::InputAdaptiveModels, hp2D::InputEddy2D_E, concepts::InputEddy2DGeometries, hp2D::InputEddy2D_H, hp2D::InputMaxwell2D_E, hp2D::InputMaxwell2D_H, and concepts::InputFile.
Process an argument and sets input parameter, if found.
Implemented in concepts::InputAdaptiveModels, hp2D::InputEddy2D_E, concepts::InputEddy2DGeometries, hp2D::InputEddy2D_H, hp2D::InputMaxwell2D_E, hp2D::InputMaxwell2D_H, and concepts::InputFile.
|
pure virtual |
Return letters for the arguments. If parameters are needed ':' is appended for this letter.
Implemented in concepts::InputAdaptiveModels, hp2D::InputEddy2D_E, concepts::InputEddy2DGeometries, hp2D::InputEddy2D_H, hp2D::InputMaxwell2D_E, hp2D::InputMaxwell2D_H, and concepts::InputFile.
|
inline |
Definition at line 46 of file inputParam.hh.
|
inline |
Returns input parameters.
Definition at line 45 of file inputParam.hh.
|
protected |
Input parameter.
Definition at line 50 of file inputParam.hh.