comparison Core/DicomFormat/DicomMap.h @ 3518:a57c8163d9ae

DicomMap::GetStringValue()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 11 Sep 2019 17:00:59 +0200
parents 109631ed3564
children 173c7f363d8f
comparison
equal deleted inserted replaced
3517:e481c2b32914 3518:a57c8163d9ae
196 const char* dicom, 196 const char* dicom,
197 size_t size); 197 size_t size);
198 198
199 void LogMissingTagsForStore() const; 199 void LogMissingTagsForStore() const;
200 200
201 bool CopyToString(std::string& result, 201 bool LookupStringValue(std::string& result,
202 const DicomTag& tag, 202 const DicomTag& tag,
203 bool allowBinary) const; 203 bool allowBinary) const;
204 204
205 bool ParseInteger32(int32_t& result, 205 bool ParseInteger32(int32_t& result,
206 const DicomTag& tag) const; 206 const DicomTag& tag) const;
207 207
208 bool ParseInteger64(int64_t& result, 208 bool ParseInteger64(int64_t& result,
231 void Serialize(Json::Value& target) const; 231 void Serialize(Json::Value& target) const;
232 232
233 void Unserialize(const Json::Value& source); 233 void Unserialize(const Json::Value& source);
234 234
235 void FromDicomWeb(const Json::Value& source); 235 void FromDicomWeb(const Json::Value& source);
236
237 std::string GetStringValue(const DicomTag& tag,
238 const std::string& defaultValue,
239 bool allowBinary) const;
240
241 void Print(FILE* fp) const; // For debugging only
236 }; 242 };
237 } 243 }