comparison Resources/Orthanc/Core/DicomFormat/DicomMap.h @ 116:a18bfe1fdd62

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Jan 2018 10:49:34 +0100
parents ff0ef01c332c
children
comparison
equal deleted inserted replaced
115:a51dee6a1515 116:a18bfe1fdd62
1 /** 1 /**
2 * Orthanc - A Lightweight, RESTful DICOM Store 2 * Orthanc - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
4 * Department, University Hospital of Liege, Belgium 4 * Department, University Hospital of Liege, Belgium
5 * Copyright (C) 2017 Osimis, Belgium 5 * Copyright (C) 2017-2018 Osimis S.A., Belgium
6 * 6 *
7 * This program is free software: you can redistribute it and/or 7 * This program is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as 8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, either version 3 of the 9 * published by the Free Software Foundation, either version 3 of the
10 * License, or (at your option) any later version. 10 * License, or (at your option) any later version.
179 ResourceType level); 179 ResourceType level);
180 180
181 static bool ParseDicomMetaInformation(DicomMap& result, 181 static bool ParseDicomMetaInformation(DicomMap& result,
182 const char* dicom, 182 const char* dicom,
183 size_t size); 183 size_t size);
184
185 void LogMissingTagsForStore() const;
186
187 bool CopyToString(std::string& result,
188 const DicomTag& tag,
189 bool allowBinary) const;
190
191 bool ParseInteger32(int32_t& result,
192 const DicomTag& tag) const;
193
194 bool ParseInteger64(int64_t& result,
195 const DicomTag& tag) const;
196
197 bool ParseUnsignedInteger32(uint32_t& result,
198 const DicomTag& tag) const;
199
200 bool ParseUnsignedInteger64(uint64_t& result,
201 const DicomTag& tag) const;
202
203 bool ParseFloat(float& result,
204 const DicomTag& tag) const;
205
206 bool ParseDouble(double& result,
207 const DicomTag& tag) const;
184 }; 208 };
185 } 209 }