| 652 | } |
| 653 | |
| 654 | void 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 | |
| 671 | DICOMParser::DICOMParser(const DICOMParser&) |
| 672 | { |
no test coverage detected