# HG changeset patch # User Sebastien Jodogne # Date 1399364884 -7200 # Node ID 145604a97914f599220174d481fa26fb32696f4e # Parent 111a1738e11ed42747856e8bae128b25ebea0e5d refactoring diff -r 111a1738e11e -r 145604a97914 OrthancServer/ParsedDicomFile.cpp --- a/OrthancServer/ParsedDicomFile.cpp Tue May 06 09:57:39 2014 +0200 +++ b/OrthancServer/ParsedDicomFile.cpp Tue May 06 10:28:04 2014 +0200 @@ -1065,4 +1065,15 @@ { } + + void* ParsedDicomFile::GetDcmtkObject() + { + return file_.get(); + } + + + ParsedDicomFile* ParsedDicomFile::Clone() + { + return new ParsedDicomFile(*file_); + } } diff -r 111a1738e11e -r 145604a97914 OrthancServer/ParsedDicomFile.h --- a/OrthancServer/ParsedDicomFile.h Tue May 06 09:57:39 2014 +0200 +++ b/OrthancServer/ParsedDicomFile.h Tue May 06 10:28:04 2014 +0200 @@ -65,15 +65,9 @@ ~ParsedDicomFile(); - void* GetDcmtkObject() - { - return file_.get(); - } + void* GetDcmtkObject(); - ParsedDicomFile* Clone() - { - return new ParsedDicomFile(*file_); - } + ParsedDicomFile* Clone(); void SendPathValue(RestApiOutput& output, const UriComponents& uri);