[Dcmlib] Loading twice the same File
    Jean-Pierre Roux 
    jpr at creatis.insa-lyon.fr
       
    Thu Jul  7 12:54:22 CEST 2005
    
    
  
Hi, gdcm users.
According to Mathieu's requirement, I make a modif, yesternight, but I'm 
not sure it was such a rich idea :
If someone loads twice the same File
f1->Load("myFileName.dcm");
...
f1->Load("myFileName.dcm");
the second Load is effectless.
(File already loaded, do nothing)
Well ...
If the user made a programing mistake, this new solution is OK.
If, for some reason of its own, he removed, say the Sequences (or 
anything else), and wants load them again, I guess he'll feel 
desapointed by the result.
(The previous solution was to clear all the 'Entries' from the H Table, 
and Load again).
Any opinion ?
Thx
JP
    
    
More information about the Dcmlib
mailing list