Re: [ROOT] using the vector class of the STL with CINT

From: Philippe Canal (pcanal@fnal.gov)
Date: Wed Sep 27 2000 - 19:51:54 MEST


Hi Nichelle,

Currently you need to explicitly create the dictionnary information for
these vector instance.  For example, you may need to add to your linkdef
file a line similar to:

#pragma link C++ class vector<Mytrack>!-;

However this may not work on all platforms (the dictionary would then
failed
to compile and/or link).

Philippe.

Nichelle Bruner wrote:
> 
> Hello,
> 
> Someone had inquired about the vector class from the STL last year, and I
> think this a follow-on question to that one...
> 
> I have a compiled class with data members of class vector from the STL.  I
> am
> unable to access these vector members interactively with CINT.  (Accessing
> them with compiled code is no problem.  Also, the data members can be
> accessed
> interactively by changing them to regular arrays.)  Is this still a
> feature of
> CINT or am I implementing it incorrectly?
> 
> thanks,
> Nicki Bruner



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:33 MET