Mercurial > hg > orthanc
comparison Core/FileFormats/PngReader.h @ 759:8cfc6119a5bd dicom-rt
integration mainline -> dicom-rt
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Apr 2014 16:04:55 +0200 |
parents | c87a1d529e13 |
children | 37adac56017a |
comparison
equal
deleted
inserted
replaced
605:b82292ba2083 | 759:8cfc6119a5bd |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2013 Medical Physics Department, CHU of Liege, | 3 * Copyright (C) 2012-2014 Medical Physics Department, CHU of Liege, |
4 * Belgium | 4 * Belgium |
5 * | 5 * |
6 * This program is free software: you can redistribute it and/or | 6 * This program is free software: you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License as | 7 * modify it under the terms of the GNU General Public License as |
8 * published by the Free Software Foundation, either version 3 of the | 8 * published by the Free Software Foundation, either version 3 of the |
94 return NULL; | 94 return NULL; |
95 } | 95 } |
96 | 96 |
97 void ReadFromFile(const char* filename); | 97 void ReadFromFile(const char* filename); |
98 | 98 |
99 void ReadFromFile(const std::string& filename) | |
100 { | |
101 ReadFromFile(filename.c_str()); | |
102 } | |
103 | |
99 void ReadFromMemory(const void* buffer, | 104 void ReadFromMemory(const void* buffer, |
100 size_t size); | 105 size_t size); |
101 | 106 |
102 void ReadFromMemory(const std::string& buffer); | 107 void ReadFromMemory(const std::string& buffer); |
103 }; | 108 }; |