Mercurial > hg > orthanc
diff OrthancServer/ParsedDicomFile.h @ 791:381f90e2b69d
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 05 May 2014 22:44:34 +0200 |
parents | 331eaf9d9d69 |
children | 111a1738e11e |
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.h Mon May 05 18:55:10 2014 +0200 +++ b/OrthancServer/ParsedDicomFile.h Mon May 05 22:44:34 2014 +0200 @@ -60,18 +60,9 @@ ParsedDicomFile(); // Create a minimal DICOM instance ParsedDicomFile(const char* content, - size_t size) - { - Setup(content, size); - } + size_t size); - ParsedDicomFile(const std::string& content) - { - if (content.size() == 0) - Setup(NULL, 0); - else - Setup(&content[0], content.size()); - } + ParsedDicomFile(const std::string& content); DcmFileFormat& GetDicom() {