| 169 | } |
| 170 | |
| 171 | std::string mitk::Annotation::GetName() const |
| 172 | { |
| 173 | mitk::StringProperty *sp = dynamic_cast<mitk::StringProperty *>(this->GetProperty("name")); |
| 174 | if (sp == nullptr) |
| 175 | return ""; |
| 176 | return sp->GetValue(); |
| 177 | } |
| 178 | |
| 179 | void mitk::Annotation::SetName(const std::string &name) |
| 180 | { |
no test coverage detected