RE:(ROOT)CINT: #pragma link flags & templat

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Sun Dec 26 1999 - 11:57:31 MET


Hi George,

Thank you for reporting this problem. I will support this from
cint5.14.27.

Thank you
Masaharu Goto


>
>Hi,
>
>I trying to get some template classes to be linked into ROOT. I wanted 
>these templates to have Streamers declared, but the ROOT generated 
>streamers for the classes were not correct due to the data members of 
>the class. So I tried to do the following in my LinkDef.h file:
>
>#pragma link C++ class TPhArray*-;
>
>in order to match all TPhArray* template classes, and not have a 
>ROOT-generated streamer for them. Unfortunately, it appears that the 
>two flags (* and -) don't interact, which I verified by a careful look 
>at CINT_newlink.c.
>
>So, is there any way to do what I want? It occurs to me that I may not 
>be going about this the right way at all with the template function 
>definition, since that ultimately needs to be #included in the 
>functions using the template as well... Anyway, any help would be 
>appreciated.
>
>Thanks,
>
>George Heintzelman
>gah@bnl.gov
>



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET