| 528 | } |
| 529 | |
| 530 | void DICOMParser::AddDICOMTagCallbacks( |
| 531 | doublebyte group, doublebyte element, VRTypes datatype, std::vector<DICOMCallback*>* cbVector) |
| 532 | { |
| 533 | DICOMParserMap::iterator miter = Implementation->Map.find(DICOMMapKey(group, element)); |
| 534 | if (miter != Implementation->Map.end()) |
| 535 | { |
| 536 | for (std::vector<DICOMCallback*>::iterator iter = cbVector->begin(); iter != cbVector->end(); |
| 537 | ++iter) |
| 538 | { |
| 539 | std::vector<DICOMCallback*>* callbacks = (*miter).second.second; |
| 540 | callbacks->push_back(*iter); |
| 541 | } |
| 542 | } |
| 543 | else |
| 544 | { |
| 545 | this->SetDICOMTagCallbacks(group, element, datatype, cbVector); |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | void DICOMParser::AddDICOMTagCallback( |
| 550 | doublebyte group, doublebyte element, VRTypes datatype, DICOMCallback* cb) |
nothing calls this directly
no test coverage detected