]> Creatis software - gdcm.git/blob - src/gdcmjpegls/Decoder/gdcmfstream.cxx
In order to allow to use current version (1.3) of gdcm *and* ITK (that includes
[gdcm.git] / src / gdcmjpegls / Decoder / gdcmfstream.cxx
1 /*=========================================================================
2   
3   Program:   gdcm
4   Module:    $RCSfile: gdcmfstream.cxx,v $
5   Language:  C++
6   Date:      $Date: 2007/05/23 14:18:13 $
7   Version:   $Revision: 1.2 $
8   
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
12   
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16   
17 =========================================================================*/
18
19 #include "gdcmfstream.h"
20 #include <iostream>
21
22 namespace GDCM_NAME_SPACE {
23
24
25 ifstream::ifstream(const char* filename,openmode mode)
26    :std::ifstream(filename,mode)
27 {
28 }
29
30 std::istream& ifstream::read(char* s, std::streamsize n )
31 {
32   std::cerr << "my read" << std::endl;
33   this->std::ifstream::read(s,n);
34 }
35
36 } //end namespace gdcm
37