Helps for reading input parameters for single problem with slot. More...
#include <slot.hh>


Public Member Functions | |
| virtual std::ostream & | arguments (std::ostream &os) const |
| Returns argument list as string. | |
| virtual std::ostream & | description (std::ostream &os) const |
| Returns description for help. | |
| virtual int | input (int opt, const char *optarg) |
| Process an argument and sets input parameter, if found. | |
| InputSlot (InOutParameters &input) | |
| Constructor. | |
| virtual std::ostream & | letters (std::ostream &os) const |
| Return letters for the arguments. | |
| const InOutParameters | parameters () const |
| Returns input parameters. | |
| InOutParameters & | parameters () |
| const unsigned long long | slotWidthReciprocal () const |
| Returns that value, where the reciprocal of 2 to the power of it is the slotwith. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| InOutParameters & | input_ |
| Input parameter. | |
Private Attributes | |
| unsigned long long | slot_ |
| Reciprocal of slot width. | |
Helps for reading input parameters for single problem with slot.
| concepts::InputSlot::InputSlot | ( | InOutParameters & | input | ) |
| std::ostream & concepts::InputSlot::arguments | ( | std::ostream & | os | ) | const [virtual] |
Returns argument list as string.
Implements concepts::InputParameter.
| std::ostream & concepts::InputSlot::description | ( | std::ostream & | os | ) | const [virtual] |
Returns description for help.
Implements concepts::InputParameter.
| std::ostream & concepts::InputSlot::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::InputParameter.
Definition at line 82 of file slot.hh.

| int concepts::InputSlot::input | ( | int | opt, |
| const char * | optarg | ||
| ) | [virtual] |
Process an argument and sets input parameter, if found.
Implements concepts::InputParameter.
Definition at line 62 of file slot.hh.

| std::ostream & concepts::InputSlot::letters | ( | std::ostream & | os | ) | const [virtual] |
Return letters for the arguments.
If parameters are needed ':' is appended for this letter.
Implements concepts::InputParameter.
| InOutParameters& concepts::InputParameter::parameters | ( | ) | [inline, inherited] |
Definition at line 43 of file inputParam.hh.
| const InOutParameters concepts::InputParameter::parameters | ( | ) | const [inline, inherited] |
Returns input parameters.
Definition at line 42 of file inputParam.hh.
| const unsigned long long concepts::InputSlot::slotWidthReciprocal | ( | ) | const [inline] |
InOutParameters& concepts::InputParameter::input_ [protected, inherited] |
Input parameter.
Definition at line 47 of file inputParam.hh.
unsigned long long concepts::InputSlot::slot_ [private] |