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

Method GetSOPClassUID

Modules/DICOM/src/mitkDICOMImageBlockDescriptor.cpp:591–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589}
590
591std::string mitk::DICOMImageBlockDescriptor::GetSOPClassUID() const
592{
593 auto tagCache = m_TagCache.Lock();
594
595 if ( !m_ImageFrameList.empty() && tagCache.IsNotNull() )
596 {
597 static const DICOMTag tagSOPClassUID( 0x0008, 0x0016 );
598 return tagCache->GetTagValue( m_ImageFrameList.front(), tagSOPClassUID ).value;
599 }
600 else
601 {
602 MITK_ERROR
603 << "Invalid call to DICOMImageBlockDescriptor::GetSOPClassUID(). Need to have initialized tag-cache!";
604 return std::string( "" );
605 }
606}
607
608std::string mitk::DICOMImageBlockDescriptor::GetSOPClassUIDAsName() const
609{

Callers 3

GetSOPClassUIDAsNameMethod · 0.95
AnalyzeInputFilesMethod · 0.45

Calls 5

IsNotNullMethod · 0.80
frontMethod · 0.80
LockMethod · 0.45
emptyMethod · 0.45
GetTagValueMethod · 0.45

Tested by

no test coverage detected