Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2005/10/18 21:19:57 $
- Version: $Revision: 1.279 $
+ Date: $Date: 2005/10/19 09:27:24 $
+ Version: $Revision: 1.280 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
gdcmWarningMacro( "Wrong Item Tag found:"
<< " We should have found tag ("
- << std::hex << testGroup << "," << testElem << ")" << std::endl
+ << DictEntry::TranslateToKey(testGroup,testElem) << ")" << std::endl
<< " but instead we encountered tag ("
- << std::hex << itemTagGroup << "," << itemTagElem << ")"
+ << DictEntry::TranslateToKey(itemTagGroup,itemTagElem) << ")"
<< " at address: " << " 0x(" << (unsigned int)currentPosition << ")"
) ;
Fp->seekg(positionOnEntry, std::ios::beg);
if ( !ReadTag(testGroup, testElem) )
{
- gdcmErrorMacro( "ReadTag did not succeed..." );
+ gdcmErrorMacro( "ReadTag did not succeed... for "
+ << DictEntry::TranslateToKey(testGroup,testElem) );
return 0;
}