Mercurial > hg > orthanc
changeset 793:145604a97914
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 May 2014 10:28:04 +0200 |
parents | 111a1738e11e |
children | 437c4a83d2cc |
files | OrthancServer/ParsedDicomFile.cpp OrthancServer/ParsedDicomFile.h |
diffstat | 2 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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_); + } }
--- 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);