Base class method

From: Victor Perevoztchikov (perev@bnl.gov)
Date: Sun Nov 21 1999 - 02:15:39 MET


Dear Masaharu,

I found some discrepancy between CINT and C++


root [2] tn = new TNamed("AAA","BBB")
root [3] tn->GetName()
(Text_t* 0x85eb55c)"AAA"       // It is correct
root [4] tn->TObject::GetName()
(Text_t* 0x85eb55c)"AAA"       // It is incorrect

C++ gives
 AAA for first case;
 TNamed for second;

Is it hard to fix, or may be there is some workaround?

Generally I need to call method of base class in CINT or by 
G__ClassInfo family.

Victor

-- 
Victor M. Perevoztchikov   perev@bnl.gov  perev@vxcern.cern.ch       
Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
tel office : 631-344-7894; fax 631-344-4206; home 631-345-2690



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