#ifndef ROOT_TFriendElement
#define ROOT_TFriendElement
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TFile;
class TTree;
class TClass;
class TFriendElement : public TNamed {
protected:
TTree *fParentTree;
TTree *fTree;
TFile *fFile;
TString fTreeName;
Bool_t fOwnFile;
TFriendElement(const TFriendElement&);
TFriendElement& operator=(const TFriendElement&);
public:
enum { kFromChain = BIT(11) };
TFriendElement();
TFriendElement(TTree *tree, const char *treename, const char *filename);
TFriendElement(TTree *tree, const char *treename, TFile *file);
TFriendElement(TTree *tree, TTree* friendtree, const char *alias);
virtual ~TFriendElement();
virtual TTree *Connect();
virtual TTree *DisConnect();
virtual TFile *GetFile();
virtual TTree *GetParentTree() const {return fParentTree;}
virtual TTree *GetTree();
virtual const char *GetTreeName() const {return fTreeName.Data();}
virtual void ls(Option_t *option="") const;
ClassDef(TFriendElement,2)
};
#endif
Last change: Wed Aug 6 08:06:35 2008
Last generated: 2008-08-06 08:06
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.