Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h @ 4296:3b70a2e6a06c
moving inline methods to source files for ABI compatibility
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 15:52:28 +0100 |
parents | 0034f855c023 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h Thu Nov 05 12:01:11 2020 +0100 +++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h Thu Nov 05 15:52:28 2020 +0100 @@ -137,15 +137,9 @@ explicit ParsedDicomFile(DcmFileFormat& dicom); // This clones the DCMTK object - static ParsedDicomFile* AcquireDcmtkObject(DcmFileFormat* dicom) // No clone here - { - return new ParsedDicomFile(dicom); - } + static ParsedDicomFile* AcquireDcmtkObject(DcmFileFormat* dicom); - DcmFileFormat& GetDcmtkObject() - { - return GetDcmtkObjectConst(); - } + DcmFileFormat& GetDcmtkObject(); // The "ParsedDicomFile" object cannot be used after calling this method DcmFileFormat* ReleaseDcmtkObject(); @@ -190,15 +184,9 @@ void SetIfAbsent(const DicomTag& tag, const std::string& utf8Value); - void RemovePrivateTags() - { - RemovePrivateTagsInternal(NULL); - } + void RemovePrivateTags(); - void RemovePrivateTags(const std::set<DicomTag>& toKeep) - { - RemovePrivateTagsInternal(&toKeep); - } + void RemovePrivateTags(const std::set<DicomTag>& toKeep); // WARNING: This function handles the decoding of strings to UTF8 bool GetTagValue(std::string& value,