Program: gdcm
Module: $RCSfile: TestAllEntryVerify.cxx,v $
Language: C++
- Date: $Date: 2004/12/04 08:57:20 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2005/01/21 11:40:53 $
+ Version: $Revision: 1.20 $
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 "gdcmHeader.h"
+#include "gdcmFile.h"
#include <map>
#include <list>
#include <fstream>
#include <iostream>
+#include <sstream>
//Generated file:
#include "gdcmDataImages.h"
{
std::string fileName = DataPath + fileIt->first;
std::cout << Indent << "FileName: " << fileName << std::endl;
- gdcm::Header* tested = new gdcm::Header( fileName.c_str() );
+ gdcm::File* tested = new gdcm::File( fileName.c_str() );
if( !tested->IsReadable() )
{
std::cerr << Indent << "Failed\n"
uint16_t group = axtoi( &(groupString[0]) );
uint16_t element = axtoi( &(groupElement[0]) );
- std::string testedValue = tested->GetEntryByNumber(group, element);
+ std::string testedValue = tested->GetEntry(group, element);
if ( testedValue != j->second )
{
// Oops make sure this is only the \0 that differ
}
Parser.SetDataPath(referenceDir);
// Parser.Print();
- std::cout << "Reference fil loaded -->\n"
+ std::cout << "Reference file loaded -->\n"
<< "Check files : \n";
int ret;