Program: gdcm
Module: $RCSfile: gdcmSQItem.cxx,v $
Language: C++
- Date: $Date: 2004/06/22 13:47:33 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2004/06/23 02:13:14 $
+ Version: $Revision: 1.15 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
(Entry)->WriteCommonPart(fp, filetype);
if (gdcmBinEntry* BinEntry = dynamic_cast< gdcmBinEntry* >(Entry) ) {
- BinEntry->Write(fp,filetype);
- return;
+ BinEntry->Write(fp);
+ return;
}
if (gdcmValEntry* ValEntry = dynamic_cast< gdcmValEntry* >(Entry) ) {
- ValEntry->Write(fp,filetype);
- return;
+ ValEntry->Write(fp);
+ return;
}
if (gdcmSeqEntry* SeqEntry = dynamic_cast< gdcmSeqEntry* >(Entry) ) {
SeqEntry->Write(fp,filetype);
- return;
+ return;
}
}
}
// that is a method of gdcmDocument :-(
gdcmValEntry* Entry = (gdcmValEntry*)0;
TagKey key = gdcmDictEntry::TranslateToKey(group, element);
-
+
if ( ! ptagHT->count(key))
{
// we assume a Public Dictionnary *is* loaded
Entry->SetLength(val.length());
docEntries.insert(i,Entry);
return true;
- }
+ }
if (group == (*i)->GetGroup() && element == (*i)->GetElement() )
{
if ( gdcmValEntry* Entry = dynamic_cast<gdcmValEntry*>(*i) )
return true;
}
}
+ return false;
}
//-----------------------------------------------------------------------------
// Protected