| 62 | } |
| 63 | |
| 64 | void parser::process(const value& v) |
| 65 | { |
| 66 | if(not v.is_object()) |
| 67 | error("Input is not an object"); |
| 68 | parser p{}; |
| 69 | p.load_settings(v); |
| 70 | for(auto&& pp : v) |
| 71 | { |
| 72 | if(pp.get_key() == "settings") |
| 73 | continue; |
| 74 | get_action(pp.get_key())(p, pp.without_key()); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | } // namespace driver |
| 79 | } // namespace gpu |
nothing calls this directly
no test coverage detected