| 27 | |
| 28 | template<class F> |
| 29 | void for_each_device_image(const common::hcf_container& hcf, F&& handler) { |
| 30 | if(hcf.root_node()->has_subnode("images")) { |
| 31 | auto* img_node = hcf.root_node()->get_subnode("images"); |
| 32 | auto image_names = img_node->get_subnodes(); |
| 33 | for(const auto& image_name : image_names) { |
| 34 | handler(img_node->get_subnode(image_name)); |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | template<class F> |
| 40 | void for_each_exported_symbol_list(const common::hcf_container& hcf, F&& handler) { |
no test coverage detected