Mercurial > hg > orthanc
diff OrthancServer/OrthancFindRequestHandler.cpp @ 618:5ab377df6d8b find-move-scp
filtering on aet
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Oct 2013 11:50:17 +0200 |
parents | ec0b7a51d7bd |
children | 08eca5d86aad |
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp Fri Oct 25 11:28:02 2013 +0200 +++ b/OrthancServer/OrthancFindRequestHandler.cpp Fri Oct 25 11:50:17 2013 +0200 @@ -36,6 +36,7 @@ #include "../Core/DicomFormat/DicomArray.h" #include "ServerToolbox.h" +#include "OrthancInitialization.h" namespace Orthanc { @@ -300,7 +301,6 @@ std::string str = query.GetValue(tag).AsString(); if (!IsWildcard(str)) { - printf(">> [%s]\n", str.c_str()); index.LookupTagValue(resources, tag, str/*, level*/); return true; } @@ -358,11 +358,9 @@ } - void OrthancFindRequestHandler::Handle(const DicomMap& input, - DicomFindAnswers& answers) + void OrthancFindRequestHandler::Handle(DicomFindAnswers& answers, + const DicomMap& input) { - LOG(WARNING) << "Find-SCU request received"; - /** * Retrieve the query level. **/