| 22 | } |
| 23 | |
| 24 | mitk::BaseProperty::Pointer mitk::PropertyDeserialization::CreateInstance(const std::string& className) |
| 25 | { |
| 26 | auto it = m_Map.find(className); |
| 27 | |
| 28 | if (it != m_Map.end()) |
| 29 | return static_cast<BaseProperty*>(it->second->CreateAnother().GetPointer()); |
| 30 | |
| 31 | return nullptr; |
| 32 | } |
| 33 | |
| 34 | void mitk::PropertyDeserialization::InternalRegisterProperty(const BaseProperty* property) |
| 35 | { |
no test coverage detected