1 #ifndef __COMMAND_PARAMETER_H
2 #define __COMMAND_PARAMETER_H
6 #include "descriptive.h"
11 * Base class for all the Arguments and Options.
16 class Parameter : public Descriptive {
18 typedef class Parameter Type;
20 * Default constructor.
22 * @param description Description of current Argument
24 Parameter(std::string description)
25 : Descriptive(description) {
27 virtual ~Parameter() {}
30 * Method used for handling method calls linked with Argument or Option
32 virtual void handle() = 0;
35 * Method used for checking if the given user value understandable for
38 virtual bool understand(std::string argVal) = 0;
42 #endif /* __COMMAND_PARAMETER_H */