| 29 | } |
| 30 | |
| 31 | bool mitk::PropertyTransience::IsTransient(const BaseData *data, const std::string &propertyName) const |
| 32 | { |
| 33 | for (const auto &matcher : m_Matchers) |
| 34 | { |
| 35 | if (matcher.first == propertyName && matcher.second(data)) |
| 36 | return true; |
| 37 | } |
| 38 | |
| 39 | return false; |
| 40 | } |
| 41 | |
| 42 | mitk::IPropertyTransience *mitk::CreateTestInstancePropertyTransience() |
| 43 | { |
no outgoing calls