<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have found it in the
gdcmDocument.cxx</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2>
<P> newBinEntry->SetKey( newBinEntry->GetKey()
);</P></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2>
<P> newValEntry->SetKey( newValEntry->GetKey()
);</P></FONT><FONT size=2>
<P> newSeqEntry->SetKey( newSeqEntry->GetKey()
);</P></FONT>Could anyone explain me the goal of these lines ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>An other point in the same file, when wrapping in
python.</FONT></DIV>
<DIV><FONT face=Arial size=2>The problem isn't the wrapping, but the python
use... it warns</FONT></DIV>
<DIV><FONT face=Arial size=2>on a Runtime problem.</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT color=#008000 size=2>
<P> dynamic_cast< Document* > ( set )</P></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>when set is a document... so, when set ==
this,</FONT></DIV>
<DIV><FONT face=Arial size=2>python can't solve this runtime dynamic_cast.
</FONT></DIV>
<DIV><FONT face=Arial size=2>I have solve it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>-----------------------------------------------------------------<BR>Benoit
Regrain<BR>Ingénieur d'études CNRS (Creatis)<BR>email : <A
href="mailto:regrain@creatis.insa-lyon.fr">regrain@creatis.insa-lyon.fr</A><BR>phone
: (+33) (0) 4.72.43.82.58<BR>fax : (+33) (0) 4.72.43.85.26<BR>address
:<BR> CREATIS - CNRS UMR5515<BR> INSA - Bâtiment Blaise
Pascal<BR> 7, avenue Jean Capelle<BR> F - 69621
Villeurbanne
Cedex<BR>-----------------------------------------------------------------<BR></FONT></DIV></BODY></HTML>