bool AddLegalValue(std::string val)
Add a legal value in string format. This function succeeds and returns true if the parmaeter can have legal values. As a special case for string parameters val can be a pattern with up to two * wildcards.