[Dcmlib] Uncomprehensible code !!!

Benoit Regrain benoit.regrain at creatis.insa-lyon.fr
Mon Aug 29 11:48:32 CEST 2005


Hi,

I have found it in the gdcmDocument.cxx
     newBinEntry->SetKey( newBinEntry->GetKey() );

     newValEntry->SetKey( newValEntry->GetKey() );

     newSeqEntry->SetKey( newSeqEntry->GetKey() );

Could anyone explain me the goal of these lines ?



An other point in the same file, when wrapping in python.
The problem isn't the wrapping, but the python use... it warns
on a Runtime problem.
   dynamic_cast< Document* > ( set )

when set is a document... so, when set == this,
python can't solve this runtime dynamic_cast. 
I have solve it.

-----------------------------------------------------------------
Benoit Regrain
Ingénieur d'études CNRS (Creatis)
email : regrain at creatis.insa-lyon.fr
phone : (+33) (0) 4.72.43.82.58
fax : (+33) (0) 4.72.43.85.26
address :
   CREATIS - CNRS UMR5515
   INSA - Bâtiment Blaise Pascal
   7, avenue Jean Capelle
   F - 69621 Villeurbanne Cedex
-----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20050829/0c5c580d/attachment.html>


More information about the Dcmlib mailing list