MCPcopy Create free account
hub / github.com/Kitware/VTK / ClearAllDICOMTagCallbacks

Method ClearAllDICOMTagCallbacks

Utilities/DICOMParser/DICOMParser.cxx:654–669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652}
653
654void DICOMParser::ClearAllDICOMTagCallbacks()
655{
656 DICOMParserMap::iterator mapIter;
657
658 for (mapIter = this->Implementation->Map.begin(); mapIter != this->Implementation->Map.end();
659 ++mapIter)
660 {
661 std::pair<const DICOMMapKey, DICOMMapValue> mapPair = *mapIter;
662 DICOMMapValue mapVal = mapPair.second;
663 std::vector<DICOMCallback*>* cbVector = mapVal.second;
664
665 delete cbVector;
666 }
667
668 this->Implementation->Map.clear();
669}
670
671DICOMParser::DICOMParser(const DICOMParser&)
672{

Callers 3

~DICOMParserMethod · 0.95
ExecuteInformationMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected