adding your own classes to root

From: chris (garcia.91@osu.edu)
Date: Mon Oct 26 1998 - 22:51:36 MET


	hi!!  i have been trying to add my cntuple class to the root framework (i
know there is a n-tuple class, i'm just trying to learn how to incorperate
my own classes).  it is just a simple class with seven members, two Text_t,
two raw c++ int, a raw float, a raw char, and a raw long.  after adding the
ClassImp and ClassDef macros to the respective files, i then run rootcint
to create the compilable files using my linkdef file.  i then compile all
of this (MSVC++ 5.0) and get a running program.  At the point where i try
to do a n.Write("keyname")  where n is an instatiated cntuple, and keyname
is some random key a choose (currently "cool") i get a crash and a message
that reads:

Warning in <TClass::TClass>: no dictionary for class name available

i have searched the archives, and i have found info on this particular
message, but in a slightly different form.  most say:

Warning in <TClass::TClass>: no dictionary for class "classname" available

this would lead me to think i should get something like

Warning in <TClass::TClass>: no dictionary for class cntuple available

but i don't.  any ideas of what i'm doing wrong??



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