| 6 | |
| 7 | |
| 8 | void option_dependency(const variables_map &vm, const char *for_what, const char *required_option) { |
| 9 | if (vm.count(for_what) && !vm[for_what].defaulted()) |
| 10 | if (vm.count(required_option) == 0 || vm[required_option].defaulted()) |
| 11 | throw std::logic_error(std::string("Option '") + for_what + "' requires option '" + required_option + "'."); |
| 12 | } |
| 13 | |
| 14 | void Config::ParseFile(std::ifstream &inStream) { |
| 15 | ASSERT(false, "Config load from file not implemented! (yet)"); |