Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/DicomUserConnection.h @ 1368:b22ba8c5edbe query-retrieve
query retrieve
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 26 May 2015 17:54:34 +0200 |
parents | a3559b66fba7 |
children | f528849ee9f7 |
comparison
equal
deleted
inserted
replaced
1367:fe6e5a9f1ea2 | 1368:b22ba8c5edbe |
---|---|
44 namespace Orthanc | 44 namespace Orthanc |
45 { | 45 { |
46 class DicomUserConnection : public boost::noncopyable | 46 class DicomUserConnection : public boost::noncopyable |
47 { | 47 { |
48 private: | 48 private: |
49 enum FindRootModel | |
50 { | |
51 FindRootModel_Patient, | |
52 FindRootModel_Study, | |
53 FindRootModel_Series, | |
54 FindRootModel_Instance | |
55 }; | |
56 | |
57 struct PImpl; | 49 struct PImpl; |
58 boost::shared_ptr<PImpl> pimpl_; | 50 boost::shared_ptr<PImpl> pimpl_; |
59 | 51 |
60 // Connection parameters | 52 // Connection parameters |
61 std::string preferredTransferSyntax_; | 53 std::string preferredTransferSyntax_; |
69 std::set<std::string> defaultStorageSOPClasses_; | 61 std::set<std::string> defaultStorageSOPClasses_; |
70 | 62 |
71 void CheckIsOpen() const; | 63 void CheckIsOpen() const; |
72 | 64 |
73 void SetupPresentationContexts(const std::string& preferredTransferSyntax); | 65 void SetupPresentationContexts(const std::string& preferredTransferSyntax); |
74 | |
75 void Find(DicomFindAnswers& result, | |
76 FindRootModel model, | |
77 const DicomMap& fields); | |
78 | 66 |
79 void MoveInternal(const std::string& targetAet, | 67 void MoveInternal(const std::string& targetAet, |
80 const DicomMap& fields); | 68 const DicomMap& fields); |
81 | 69 |
82 void ResetStorageSOPClasses(); | 70 void ResetStorageSOPClasses(); |
148 | 136 |
149 void Store(const std::string& buffer); | 137 void Store(const std::string& buffer); |
150 | 138 |
151 void StoreFile(const std::string& path); | 139 void StoreFile(const std::string& path); |
152 | 140 |
153 void FindPatient(DicomFindAnswers& result, | 141 void Find(DicomFindAnswers& result, |
154 const DicomMap& fields); | 142 ResourceType level, |
155 | 143 const DicomMap& fields); |
156 void FindStudy(DicomFindAnswers& result, | |
157 const DicomMap& fields); | |
158 | |
159 void FindSeries(DicomFindAnswers& result, | |
160 const DicomMap& fields); | |
161 | |
162 void FindInstance(DicomFindAnswers& result, | |
163 const DicomMap& fields); | |
164 | 144 |
165 void Move(const std::string& targetAet, | 145 void Move(const std::string& targetAet, |
166 const DicomMap& findResult); | 146 const DicomMap& findResult); |
167 | 147 |
168 void MovePatient(const std::string& targetAet, | 148 void MovePatient(const std::string& targetAet, |