| 677 | } |
| 678 | |
| 679 | ConfigObject::Ptr ConfigObject::GetObject(const String& type, const String& name) |
| 680 | { |
| 681 | Type::Ptr ptype = Type::GetByName(type); |
| 682 | auto *ctype = dynamic_cast<ConfigType *>(ptype.get()); |
| 683 | |
| 684 | if (!ctype) |
| 685 | return nullptr; |
| 686 | |
| 687 | return ctype->GetObject(name); |
| 688 | } |
| 689 | |
| 690 | ConfigObject::Ptr ConfigObject::GetZone() const |
| 691 | { |
no test coverage detected