diff --git a/cpp/CmdLineOptions.h b/cpp/CmdLineOptions.h index a9d5379..5f51ec2 100644 --- a/cpp/CmdLineOptions.h +++ b/cpp/CmdLineOptions.h @@ -23,10 +23,11 @@ private: std::string name; std::string description; bool set; - // lists + // lists for attributes of an option std::unique_ptr> options; std::unique_ptr> possibleParameters; std::unique_ptr> defaultParameters; + // values, this list can only be filled by parsing the input data std::unique_ptr> values; public: @@ -34,8 +35,20 @@ public: Option(std::string name); virtual ~Option(); - void setName(std::string name); + // Methods setting configuration attributes + std::shared_ptr