| 266 | } |
| 267 | |
| 268 | bool get(const UString name) |
| 269 | { |
| 270 | if (!this->parsed) |
| 271 | { |
| 272 | LogError("Not yet parsed options"); |
| 273 | return false; |
| 274 | } |
| 275 | auto it = this->modifiedOptions.find(name); |
| 276 | if (it != this->modifiedOptions.end()) |
| 277 | { |
| 278 | return true; |
| 279 | } |
| 280 | return vm.count(name); |
| 281 | } |
| 282 | template <typename T> const T &getTyped(const UString &key) |
| 283 | { |
| 284 | if (!this->parsed) |
no test coverage detected