concepts::InputFile Class Reference
Helps for reading the input parameter of file name. More...
#include <inputParam.hh>
Public Member Functions | |
virtual std::ostream & | arguments (std::ostream &os) const |
Returns argument list as string. More... | |
virtual std::ostream & | description (std::ostream &os) const |
Returns description for help. More... | |
virtual int | input (int opt, const char *optarg) |
Process an argument and sets input parameter, if found. More... | |
InputFile (InOutParameters &input) | |
Constructor. More... | |
virtual std::ostream & | letters (std::ostream &os) const |
Return letters for the arguments. More... | |
InOutParameters & | parameters () |
const InOutParameters | parameters () const |
Returns input parameters. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
InOutParameters & | input_ |
Input parameter. More... | |
Detailed Description
Helps for reading the input parameter of file name.
Definition at line 59 of file inputParam.hh.
Constructor & Destructor Documentation
◆ InputFile()
concepts::InputFile::InputFile | ( | InOutParameters & | input | ) |
Constructor.
Member Function Documentation
◆ arguments()
|
virtual |
Returns argument list as string.
Implements concepts::InputParameter.
◆ description()
|
virtual |
Returns description for help.
Implements concepts::InputParameter.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::InputParameter.
◆ input()
|
virtual |
Process an argument and sets input parameter, if found.
- Returns
- 0 ok, 1 nothing found, 2 error
Implements concepts::InputParameter.
◆ letters()
|
virtual |
Return letters for the arguments.
If parameters are needed ':' is appended for this letter.
Implements concepts::InputParameter.
◆ parameters() [1/2]
|
inlineinherited |
Definition at line 46 of file inputParam.hh.
◆ parameters() [2/2]
|
inlineinherited |
Returns input parameters.
Definition at line 45 of file inputParam.hh.
Member Data Documentation
◆ input_
|
protectedinherited |
Input parameter.
Definition at line 50 of file inputParam.hh.
The documentation for this class was generated from the following file:
- toolbox/inputParam.hh