Hi,
Last week I learned (with some help) how I could add a class which internally usew a vector<double> to ROOT and successfully wrote that object to a file.
One of the things I forgot was to add the vector dictionary in the compiled C++ program and after this, things worked.
What if I now want to add a class which contains not a vector<double> but a vector<MyClass>? Does the line
gROOT->ProcessLine("#include <vector>")
still load the dictionary for vector<MyClass>? Or is this where LinkDef.h comes in. I'm confused at this point.
Thanks,
Marc
-
Dr. Marc de Kamps
Biosystems Group
School of Computing
University of Leeds
LS29JT, Leeds, UK
dekamps_at_comp.leeds.ac.uk
http:/www.comp.leeds.ac.uk/dekamps Received on Fri Nov 23 2007 - 19:11:20 CET
This archive was generated by hypermail 2.2.0 : Sun Nov 25 2007 - 17:50:01 CET