MCPcopy Create free account
hub / github.com/MITK/MITK / GetPropertyAsString

Method GetPropertyAsString

Modules/DICOM/src/mitkDICOMImageBlockDescriptor.cpp:365–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365std::string mitk::DICOMImageBlockDescriptor::GetPropertyAsString( const std::string& key ) const
366{
367 this->UpdateImageDescribingProperties();
368 const mitk::BaseProperty::Pointer property = m_PropertyList->GetProperty( key );
369 if ( property.IsNotNull() )
370 {
371 return property->GetValueAsString();
372 }
373 else
374 {
375 return std::string( "" );
376 }
377}
378
379mitk::IOVolumeSplitReason::ConstPointer mitk::DICOMImageBlockDescriptor::GetSplitReason() const
380{

Callers 1

Calls 4

IsNotNullMethod · 0.80
GetPropertyMethod · 0.45
GetValueAsStringMethod · 0.45

Tested by

no test coverage detected