| 88 | } |
| 89 | |
| 90 | void mitk::PersistenceService::ClonePropertyList(mitk::PropertyList *from, mitk::PropertyList *to) const |
| 91 | { |
| 92 | to->Clear(); |
| 93 | |
| 94 | const std::map<std::string, BaseProperty::Pointer> *propMap = from->GetMap(); |
| 95 | auto propMapIt = propMap->begin(); |
| 96 | while (propMapIt != propMap->end()) |
| 97 | { |
| 98 | mitk::BaseProperty::Pointer clonedProp = (*propMapIt).second->Clone(); |
| 99 | to->SetProperty((*propMapIt).first, clonedProp); |
| 100 | ++propMapIt; |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | bool mitk::PersistenceService::Save(const std::string &fileName, bool appendChanges) |
| 105 | { |
no test coverage detected