Extension of #3275.
Make maximal use of robust enumeration support introduced in #3275 by forcing all uses of MR::Argument::type_choice() to use an explicit enumeration rather than a vector of strings. The latter is vulnerable to bugs caused by code wtiching via integer values and/or loss of correspondence between enumerations and vectors-of-strings. Deletion of the type_choice(std::vector<std::string>) function will expose the remaining uses to be refactored.
Extension of #3275.
Make maximal use of robust enumeration support introduced in #3275 by forcing all uses of
MR::Argument::type_choice()to use an explicit enumeration rather than a vector of strings. The latter is vulnerable to bugs caused by code wtiching via integer values and/or loss of correspondence between enumerations and vectors-of-strings. Deletion of thetype_choice(std::vector<std::string>)function will expose the remaining uses to be refactored.