1 /*=========================================================================
4 Module: $RCSfile: gdcmRLEFramesInfo.cxx,v $
6 Date: $Date: 2004/10/20 14:30:40 $
7 Version: $Revision: 1.3 $
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.
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.
17 =========================================================================*/
19 #include "gdcmRLEFramesInfo.h"
24 RLEFramesInfo::~RLEFramesInfo()
26 for(RLEFrameList::iterator it = Frames.begin(); it != Frames.end(); ++it)
35 * @param indent Indentation string to be prepended during printing.
36 * @param os Stream to print to.
38 void RLEFramesInfo::Print( std::string indent, std::ostream &os )
41 << "----------------- RLE frames --------------------------------"
44 << "Total number of Frames : " << Frames.size()
47 for(RLEFrameList::iterator it = Frames.begin(); it != Frames.end(); ++it)
50 << " frame number :" << frameNumber++
52 (*it)->Print( indent + " ", os );
56 } // end namespace gdcm