Multiple inheritance and I/O

From: Clark McGrew <clark.mcgrew_at_sunysb.edu>
Date: Thu, 24 Jan 2008 13:19:24 -0500


Hello All,

I'm working with some classes that inherit from TObject, and inherit from several "mix-in" base classes. What is the proper way tell ROOT to ignore a base class (so it doesn't take part in I/O)? In fact, I've found that I get the right behavior by creating CINT definitions for the mix-in classes to exclude I/O. Looking at the ROOT source code, and verifying the output files shows that ROOT is correctly reading and writing the classes, but I get a warning from TClass::BuildRealData about the missing ShowMembers method (it is after all missing). Can the warning be disabled?

Thanks,
Clark

-- 
Clark McGrew <clark.mcgrew_at_sunysb.edu>
Received on Thu Jan 24 2008 - 19:19:37 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 24 2008 - 23:50:01 CET