Dear Rooters
Root has a very elegant solution to init variable arrays in a class: class MyClass: public TObject {
protected:
TString fType; //Type of tree Int_t fNPars; //number of parameters Double_t *fPars; //[fNPars] array of fNPars parameters
However, I want to store a class MyClass permanently in TFile w/o storing an array fTree of fNTrees trees. Is it possible to write "//! [fNTrees]", i.e.: class MyClass: public TObject {
protected:
TString fType; //Type of tree Int_t fNTrees; //! number of trees TTree *fTree; //! [fNTrees] array of fNTrees trees
Thank you in advance.
Best regards
Christian
_._._._._._._._._._._._._._._._ C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a _._._._._._._._._._._._._._._._Received on Fri Jul 01 2005 - 19:59:45 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:10 MET