[ROOT] Streamer for complex numbers

From: Malcolm Davidson (davidson@cesbio.cnes.fr)
Date: Mon Apr 02 2001 - 15:06:43 MEST


Hello,

I'm currently trying to implement an Object having a "complex<double>"
member and eventually save realisations of the class to a faile (I need
I/O). When I try compiling the class using ACLiC I get the following
error message ("eps" is of type "complex<double>")
--------------------------
root [13] .L TIEM.cpp++
Unmodified script has already been compiled and loaded.
It will be regenerated and reloaded!
Creating shared library /home/davidson/prog/root_iem_c++/./TIEM_cpp.so
*** Datamember TIEM::eps: object has no Streamer() method (need manual
intervention)
---------------------------
 It seems that I have to define the Streamer method for complex numbers
manually even though STL is said to be supported. Is this correct ?
If so how do I proceed or has someone already implemented it somewhere ?

I am using ROOT v.3.06 on both HP-UX 10.20 and Linux (Mandrake 7.2).

Many thanks in advance.


Malcolm Davidson


<>------------------------------------------------<>
Malcolm W. J. Davidson

Centre D'Etudes Spatiales de la Biosphere (CESBIO)
UMR 5639 CNES-CNRS-UPS
18, Avenue Edouard Belin
F-31401 Toulouse Cedex 4
FRANCE

e-mail : davidson@cesbio.cnes.fr
phone (33)(0)5.61.55.85.84
fax   (33)(0)5.61.55.85.00
<>------------------------------------------------<>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET