Program: gdcm
Module: $RCSfile: VTKTestReadSeq.cxx,v $
Language: C++
- Date: $Date: 2005/02/03 10:00:06 $
- Version: $Revision: 1.9 $
+ Date: $Date: 2007/09/18 07:58:38 $
+ Version: $Revision: 1.12 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
-#include "gdcmFileHelper.h"
#include "vtkGdcmReader.h"
#include "vtkImageViewer.h"
#include "vtkImageData.h"
#include "vtkImageShiftScale.h"
#include <iostream>
+#include <sstream>
//Generated file:
#include "gdcmDataSeqImages.h"
std::string const &filename,
std::string const &referenceFileName)
{
- int retVal = 0; //by default this is an error
+ int retVal; // = 0; (to avoid bcc 5.5 warnings)
// Set the reader
vtkGdcmReader *reader = vtkGdcmReader::New();
// make test
int ret = 0;
- ostrstream str;
+ std::ostringstream str;
char *newFilePng = new char[referenceFileName.size()+1];
for(int j=0;j<fileCount;j++)
{
{
std::cerr << str.str();
}
- str.rdbuf()->freeze(1);
if( retVal == vtkTesting::PASSED )
{