comparison PalanthirServer/Internals/FindScp.cpp @ 50:a15e90e5d6fc

rename in code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Sep 2012 15:50:12 +0200
parents 33d67e1ab173
children
comparison
equal deleted inserted replaced
49:e1a3ae0dadf3 50:a15e90e5d6fc
1 /** 1 /**
2 * Palantir - A Lightweight, RESTful DICOM Store 2 * Palanthir - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012 Medical Physics Department, CHU of Liege, 3 * Copyright (C) 2012 Medical Physics Department, CHU of Liege,
4 * Belgium 4 * Belgium
5 * 5 *
6 * This program is free software: you can redistribute it and/or 6 * This program is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as 7 * modify it under the terms of the GNU General Public License as
20 20
21 #include "FindScp.h" 21 #include "FindScp.h"
22 22
23 #include "../FromDcmtkBridge.h" 23 #include "../FromDcmtkBridge.h"
24 #include "../ToDcmtkBridge.h" 24 #include "../ToDcmtkBridge.h"
25 #include "../../Core/PalantirException.h" 25 #include "../../Core/PalanthirException.h"
26 26
27 #include <dcmtk/dcmdata/dcfilefo.h> 27 #include <dcmtk/dcmdata/dcfilefo.h>
28 #include <dcmtk/dcmdata/dcmetinf.h> 28 #include <dcmtk/dcmdata/dcmetinf.h>
29 #include <dcmtk/dcmdata/dcostrmb.h> 29 #include <dcmtk/dcmdata/dcostrmb.h>
30 #include <dcmtk/dcmdata/dcdeftag.h> 30 #include <dcmtk/dcmdata/dcdeftag.h>
31 #include <dcmtk/dcmnet/diutil.h> 31 #include <dcmtk/dcmnet/diutil.h>
32 32
33 33
34 namespace Palantir 34 namespace Palanthir
35 { 35 {
36 namespace Internals 36 namespace Internals
37 { 37 {
38 extern OFLogger Logger; 38 extern OFLogger Logger;
39 } 39 }
72 72
73 try 73 try
74 { 74 {
75 data.handler_->Handle(data.input_, data.answers_); 75 data.handler_->Handle(data.input_, data.answers_);
76 } 76 }
77 catch (PalantirException& e) 77 catch (PalanthirException& e)
78 { 78 {
79 // Internal error! 79 // Internal error!
80 OFLOG_ERROR(Internals::Logger, "IFindRequestHandler Failed: " << e.What()); 80 OFLOG_ERROR(Internals::Logger, "IFindRequestHandler Failed: " << e.What());
81 response->DimseStatus = STATUS_FIND_Failed_UnableToProcess; 81 response->DimseStatus = STATUS_FIND_Failed_UnableToProcess;
82 *responseIdentifiers = NULL; 82 *responseIdentifiers = NULL;