comparison OrthancServer/ParsedDicomFile.cpp @ 1565:4b23310eb7e8

add tags per instances in a series
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 21 Aug 2015 17:29:16 +0200
parents 1b7def486e62
children 3be6eb3757c8
comparison
equal deleted inserted replaced
1564:1b7def486e62 1565:4b23310eb7e8
1355 // This Cyrillic codepage is not officially supported by the 1355 // This Cyrillic codepage is not officially supported by the
1356 // DICOM standard. Do not set the SpecificCharacterSet tag. 1356 // DICOM standard. Do not set the SpecificCharacterSet tag.
1357 return; 1357 return;
1358 } 1358 }
1359 1359
1360 std::string s = Toolbox::GetDicomSpecificCharacterSet(encoding); 1360 pimpl_->encoding_ = encoding;
1361
1362 std::string s = GetDicomSpecificCharacterSet(encoding);
1361 Replace(DICOM_TAG_SPECIFIC_CHARACTER_SET, s, DicomReplaceMode_InsertIfAbsent); 1363 Replace(DICOM_TAG_SPECIFIC_CHARACTER_SET, s, DicomReplaceMode_InsertIfAbsent);
1362 } 1364 }
1363 1365
1364 void ParsedDicomFile::ToJson(Json::Value& target, bool simplify) 1366 void ParsedDicomFile::ToJson(Json::Value& target, bool simplify)
1365 { 1367 {