Program: gdcm
Module: $RCSfile: gdcmDocument.cxx,v $
Language: C++
- Date: $Date: 2005/10/03 16:08:07 $
- Version: $Revision: 1.285 $
+ Date: $Date: 2005/10/11 14:38:05 $
+ Version: $Revision: 1.287 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief Loads (or not) the element content depending if its length exceeds
* or not the value specified with Document::SetMaxSizeLoadEntry()
* @param entry Header Entry (Dicom Element) to be dealt with
+ * @param forceLoad whether you want to force loading of 'long' elements
*/
void Document::LoadDocEntry(DocEntry *entry, bool forceLoad)
{
return;
}
- if ( vr == "UI" )
- {
- // Because of correspondance with the VR dic
- valEntry->SetValue(newValue);
- }
- else
- {
- valEntry->SetValue(newValue);
- }
+// if ( vr == "UI" )
+// {
+// // Because of correspondance with the VR dic
+// valEntry->SetValue(newValue);
+// }
+// else
+// {
+// valEntry->SetValue(newValue);
+// }
+
+// Anybody remembers the genesis of strange previous (commented out) code?
+ valEntry->SetValue(newValue);
+
}
else
{