Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp @ 4273:0034f855c023
tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 12:24:50 +0100 |
parents | afad57ac30ef |
children | 9279de56a405 |
comparison
equal
deleted
inserted
replaced
4272:1661544ea94d | 4273:0034f855c023 |
---|---|
1731 else | 1731 else |
1732 { | 1732 { |
1733 return DicomImageDecoder::Decode(*GetDcmtkObjectConst().getDataset(), frame); | 1733 return DicomImageDecoder::Decode(*GetDcmtkObjectConst().getDataset(), frame); |
1734 } | 1734 } |
1735 } | 1735 } |
1736 | |
1737 | |
1738 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1 | |
1739 // Alias for binary compatibility with Orthanc Framework 1.7.2 => don't use it anymore | |
1740 void ParsedDicomFile::DatasetToJson(Json::Value& target, | |
1741 DicomToJsonFormat format, | |
1742 DicomToJsonFlags flags, | |
1743 unsigned int maxStringLength) | |
1744 { | |
1745 return const_cast<const ParsedDicomFile&>(*this).DatasetToJson(target, format, flags, maxStringLength); | |
1746 } | |
1747 | |
1748 DcmFileFormat& ParsedDicomFile::GetDcmtkObject() const | |
1749 { | |
1750 return const_cast<ParsedDicomFile&>(*this).GetDcmtkObject(); | |
1751 } | |
1752 | |
1753 void ParsedDicomFile::Apply(ITagVisitor& visitor) | |
1754 { | |
1755 const_cast<const ParsedDicomFile&>(*this).Apply(visitor); | |
1756 } | |
1757 | |
1758 ParsedDicomFile* ParsedDicomFile::Clone(bool keepSopInstanceUid) | |
1759 { | |
1760 return const_cast<const ParsedDicomFile&>(*this).Clone(keepSopInstanceUid); | |
1761 } | |
1762 | |
1763 bool ParsedDicomFile::LookupTransferSyntax(std::string& result) | |
1764 { | |
1765 return const_cast<const ParsedDicomFile&>(*this).LookupTransferSyntax(result); | |
1766 } | |
1767 | |
1768 bool ParsedDicomFile::GetTagValue(std::string& value, | |
1769 const DicomTag& tag) | |
1770 { | |
1771 return const_cast<const ParsedDicomFile&>(*this).GetTagValue(value, tag); | |
1772 } | |
1773 #endif | |
1736 } | 1774 } |