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

Method AddDICOMTagCallbacks

Utilities/DICOMParser/DICOMParser.cxx:530–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530void 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
549void DICOMParser::AddDICOMTagCallback(
550 doublebyte group, doublebyte element, VRTypes datatype, DICOMCallback* cb)

Callers

nothing calls this directly

Calls 6

SetDICOMTagCallbacksMethod · 0.95
DICOMMapKeyClass · 0.85
findMethod · 0.45
endMethod · 0.45
beginMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected