sogno-platform/dpsim

Refactor to single options map

dinkelbachjan opened this issue · 0 comments

Refactor options of CommandLineArgs

std::map<String, Real> options;

Implement options of type std::map<String, String> to store options uniformly as String type. Remove options_bool. Instead, perform conversion to Real, or Bool by implementing getOptionReal and getOptionBool. This will also enable to easily implement getOptionString.