]> Creatis software - gdcm.git/blob - src/gdcmJPEGFragmentsInfo.cxx
41f802d39dd9e34eb1a55605f81a1ab5e5e567fe
[gdcm.git] / src / gdcmJPEGFragmentsInfo.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmJPEGFragmentsInfo.cxx,v $
5   Language:  C++
6   Date:      $Date: 2004/10/12 04:35:46 $
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 "gdcmJPEGFragmentsInfo.h"
20
21 namespace gdcm 
22 {
23
24 JPEGFragmentsInfo::~JPEGFragmentsInfo()
25 {
26    for(JPEGFragmentsList::iterator it  = Fragments.begin();
27                                    it != Fragments.end();
28                                  ++it )
29    {
30       delete (*it);
31    }
32    Fragments.clear();
33 }
34 } // end namespace gdcm