Mercurial > hg > orthanc
comparison Core/DicomFormat/DicomMap.cpp @ 758:67e6400fca03 query-retrieve
integration mainline -> query-retrieve
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Apr 2014 16:34:09 +0200 |
parents | 3bdb5db8e839 309e686b41e7 |
children | c2c28dd17e87 |
comparison
equal
deleted
inserted
replaced
681:3bdb5db8e839 | 758:67e6400fca03 |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2013 Medical Physics Department, CHU of Liege, | 3 * Copyright (C) 2012-2014 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 |
8 * published by the Free Software Foundation, either version 3 of the | 8 * published by the Free Software Foundation, either version 3 of the |
197 { | 197 { |
198 return *value; | 198 return *value; |
199 } | 199 } |
200 else | 200 else |
201 { | 201 { |
202 throw OrthancException("Inexistent tag"); | 202 throw OrthancException(ErrorCode_InexistentTag); |
203 } | 203 } |
204 } | 204 } |
205 | 205 |
206 | 206 |
207 const DicomValue* DicomMap::TestAndGetValue(const DicomTag& tag) const | 207 const DicomValue* DicomMap::TestAndGetValue(const DicomTag& tag) const |