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

Method CreateDICOMFileReaderTag

Modules/DICOM/src/mitkDICOMReaderConfigurator.cpp:693–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693tinyxml2::XMLElement*
694mitk::DICOMReaderConfigurator
695::CreateDICOMFileReaderTag(tinyxml2::XMLDocument& doc, const DICOMFileReader* reader) const
696{
697 auto readerTag = doc.NewElement("DICOMFileReader");
698 readerTag->SetAttribute("class", reader->GetNameOfClass());
699 readerTag->SetAttribute("label", reader->GetConfigurationLabel().c_str());
700 readerTag->SetAttribute("description", reader->GetConfigurationDescription().c_str());
701 readerTag->SetAttribute("version", "1");
702
703 return readerTag;
704}

Callers 1

Calls 3

GetConfigurationLabelMethod · 0.80
GetNameOfClassMethod · 0.45

Tested by

no test coverage detected