comparison OrthancServer/OrthancFindRequestHandler.cpp @ 806:557575fd93e9

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 May 2014 15:22:28 +0200
parents d466b3606aca
children 401a9633e492
comparison
equal deleted inserted replaced
805:56a813a4714d 806:557575fd93e9
449 **/ 449 **/
450 450
451 ModalityManufacturer manufacturer; 451 ModalityManufacturer manufacturer;
452 452
453 { 453 {
454 std::string symbolicName, address; 454 RemoteModalityParameters modality;
455 int port; 455
456 456 if (!LookupDicomModalityUsingAETitle(modality, callingAETitle))
457 if (!LookupDicomModalityUsingAETitle(callingAETitle, symbolicName, address, port, manufacturer))
458 { 457 {
459 throw OrthancException("Unknown modality"); 458 throw OrthancException("Unknown modality");
460 } 459 }
460
461 manufacturer = modality.GetManufacturer();
461 } 462 }
462 463
463 464
464 /** 465 /**
465 * Retrieve the query level. 466 * Retrieve the query level.