comparison Core/DicomFormat/DicomMap.h @ 2412:cad393b41bc3

handy shortcuts in DicomMap
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 Sep 2017 11:35:45 +0200
parents 96b3ec054b69
children 878b59270859
comparison
equal deleted inserted replaced
2411:82d5e305fbd9 2412:cad393b41bc3
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 184
185 void LogMissingTagsForStore() const; 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;
186 }; 208 };
187 } 209 }