comparison OrthancServer/ParsedDicomFile.cpp @ 1735:a001f6226c7c

primitives for flags in dicom-to-json conversions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Oct 2015 16:25:09 +0200
parents 4aaaecae5803
children b953c6eef28d
comparison
equal deleted inserted replaced
1734:e2675b37eb01 1735:a001f6226c7c
1118 Replace(DICOM_TAG_SPECIFIC_CHARACTER_SET, s, DicomReplaceMode_InsertIfAbsent); 1118 Replace(DICOM_TAG_SPECIFIC_CHARACTER_SET, s, DicomReplaceMode_InsertIfAbsent);
1119 } 1119 }
1120 1120
1121 void ParsedDicomFile::ToJson(Json::Value& target, 1121 void ParsedDicomFile::ToJson(Json::Value& target,
1122 DicomToJsonFormat format, 1122 DicomToJsonFormat format,
1123 DicomToJsonFlags flags,
1123 unsigned int maxStringLength) 1124 unsigned int maxStringLength)
1124 { 1125 {
1125 FromDcmtkBridge::ToJson(target, *pimpl_->file_->getDataset(), format, maxStringLength); 1126 FromDcmtkBridge::ToJson(target, *pimpl_->file_->getDataset(), format, flags, maxStringLength);
1126 } 1127 }
1127 1128
1128 1129
1129 bool ParsedDicomFile::HasTag(const DicomTag& tag) const 1130 bool ParsedDicomFile::HasTag(const DicomTag& tag) const
1130 { 1131 {