]> Creatis software - gdcm.git/blob - src/gdcmJPEGFragment.cxx
BUG: Remove the Print indent mess. Please only one Print per class default paramater...
[gdcm.git] / src / gdcmJPEGFragment.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmJPEGFragment.cxx,v $
5   Language:  C++
6   Date:      $Date: 2005/01/16 04:50:42 $
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 "gdcmJPEGFragment.h"
20                                                                                 
21 namespace gdcm
22 {
23
24 /**
25  * \brief Default constructor.
26  */
27 JPEGFragment::JPEGFragment()
28 {
29    Offset = 0;
30    Length = 0;
31 }
32
33 /**
34  * \brief        Print self.
35  * @param indent Indentation string to be prepended during printing.
36  * @param os     Stream to print to.
37  */
38 void JPEGFragment::Print( std::ostream &os, std::string indent )
39 {
40    os << indent
41       << "JPEG fragment: offset : " <<  Offset
42       << "   length : " <<  Length
43       << std::endl;
44 }
45
46 } // end namespace gdcm
47