################################################################### */
| 1121 | }; |
| 1122 | /* ################################################################### */ |
| 1123 | void OptionGroup::getInts(std::vector<int> & out) { |
| 1124 | if (!isSet) { |
| 1125 | if (!defaults.empty()) { |
| 1126 | std::vector< std::string > strings; |
| 1127 | SplitDelim(defaults, delim, strings); |
| 1128 | StringsToInts(strings, out); |
| 1129 | } |
| 1130 | } else { |
| 1131 | if (!(args.empty() || args[0]->empty())) |
| 1132 | StringsToInts(args[0], &out); |
| 1133 | } |
| 1134 | }; |
| 1135 | /* ################################################################### */ |
| 1136 | void OptionGroup::getLongs(std::vector<long> & out) { |
| 1137 | if (!isSet) { |
no test coverage detected