| 43 | } |
| 44 | |
| 45 | bool StringToInt(OsiArgumentDesc & args) |
| 46 | { |
| 47 | auto a = args[0].String; |
| 48 | try { |
| 49 | args[1].Int32 = std::stoi(a); |
| 50 | return true; |
| 51 | } |
| 52 | catch (std::invalid_argument &) { |
| 53 | return false; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | bool StringToReal(OsiArgumentDesc & args) |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected