| 265 | } |
| 266 | |
| 267 | void mitk::BaseData::PrintSelf(std::ostream &os, itk::Indent indent) const |
| 268 | { |
| 269 | os << std::endl; |
| 270 | os << indent << " TimeGeometry: "; |
| 271 | if (GetTimeGeometry() == nullptr) |
| 272 | os << "nullptr" << std::endl; |
| 273 | else |
| 274 | GetTimeGeometry()->Print(os, indent); |
| 275 | // print out all properties |
| 276 | PropertyList::Pointer propertyList = this->GetPropertyList(); |
| 277 | if (propertyList.IsNotNull() && !propertyList->IsEmpty()) |
| 278 | { |
| 279 | // general headline |
| 280 | os << "Properties of BaseData:" << std::endl; |
| 281 | |
| 282 | const PropertyList::PropertyMap *map = propertyList->GetMap(); |
| 283 | for (auto iter = map->begin(); iter != map->end(); ++iter) |
| 284 | { |
| 285 | os << " " << (*iter).first << " " << (*iter).second->GetValueAsString() << std::endl; |
| 286 | } |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | mitk::BaseProperty::ConstPointer mitk::BaseData::GetConstProperty(const std::string &propertyKey, const std::string &contextName, bool fallBackOnDefaultContext) const |
| 291 | { |
nothing calls this directly
no test coverage detected