| 38 | } |
| 39 | |
| 40 | void FindTargets(const String& type, |
| 41 | const std::function<void (const Value&)>& addTarget) const override |
| 42 | { |
| 43 | Type::Ptr ptype = Type::GetByName(type); |
| 44 | |
| 45 | for (const ConfigItem::Ptr& item : ConfigItem::GetItems(ptype)) { |
| 46 | if (item->IsAbstract()) |
| 47 | addTarget(GetTargetForTemplate(item)); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | Value GetTargetByName(const String& type, const String& name) const override |
| 52 | { |
nothing calls this directly
no test coverage detected